Commit 44a9da3
Changed files (4)
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