Commit 96f87b5

mo khan <mo@mokhan.ca>
2014-11-15 03:55:11
update the example database.yml to be travis friendly.
1 parent 08429fe
Changed files (2)
config/database.yml.example
@@ -1,15 +1,12 @@
-development:
+development: &default
   adapter: postgresql
-  encoding: unicode
-  database: urkel-development
+  database: urkel_development
+  encoding: utf8
+  host: localhost
+  min_messages: warning
   pool: 5
-  username: mo
-  password:
+  timeout: 5000
 
 test:
-  adapter: postgresql
-  encoding: unicode
-  database: urkel-test
-  pool: 5
-  username: mo
-  password:
+  <<: *default
+  database: urkel_test
.travis.yml
@@ -5,6 +5,7 @@ before_install:
   - sh -e /etc/init.d/xvfb start
 before_script:
   - cp .env.example .env
+  - cp config/database.yml.example config/database.yml
 
   - psql -c 'create database "urkel_test";' -U postgres