Commit 44a9da3

Stephen Peasley <s@stephenpeasley.com>
2014-12-29 15:30:26
Template database config files
1 parent a8e302e
config/database.yml → config/database.yml.example
File renamed without changes
config/database.yml.travis
@@ -0,0 +1,5 @@
+test:
+  adapter: postgresql
+  database: app_test
+  encoding: unicode
+  username: postgres
\ No newline at end of file
.gitignore
@@ -13,3 +13,4 @@
 /tmp
 .vagrant
 .env
+database.yml
\ No newline at end of file
.travis.yml
@@ -3,4 +3,5 @@ rvm: 2.1.5
 addons:
   postgresql: "9.3"
 before_script:
+  - cp config/database.yml.travis config/database.yml
   - psql -c 'create database app_test;' -U postgres
\ No newline at end of file