Permalink
Browse files

setup database yml for travis

  • Loading branch information...
thilo committed Feb 1, 2012
1 parent d9b847d commit 06d4cf1eafa569d9c51f241ee05740f18ec7d8a7
Showing with 5 additions and 1 deletion.
  1. +5 −1 .travis.yml
View
@@ -3,4 +3,8 @@ rvm:
- 1.9.3
script: bundle exec rspec
notifications:
- email: false
+ email: false
+env: DB=postgres
+before_script:
+ - "cp app/config/database.yml.example app/config/database.yml"
+ - "psql -c 'create database myapp_test;' -U postgres"

0 comments on commit 06d4cf1

Please sign in to comment.