Commit 83c7dd2f

mo khan <mo@mokhan.ca>
2015-01-11 06:56:39
add travis
1 parent 6d53176
config/database.yml.jenkins
@@ -1,7 +0,0 @@
-test:
-  adapter: postgresql
-  encoding: unicode
-  database: cakeside_test
-  pool: 5
-  username: jenkins
-  password:
config/database.yml.travis
@@ -0,0 +1,4 @@
+test:
+  adapter: postgresql
+  database: cakeside_test
+  username: postgres
.travis.yml
@@ -0,0 +1,10 @@
+language: ruby
+rvm:
+  - 2.2.0
+cache: bundler
+addons:
+  postgresql: '9.3'
+sudo: false
+before_script:
+  - cp config/database.yml.travis config/database.yml
+  - psql -c 'create database cakeside_test;' -U postgres