Configure database for travis CI

This commit is contained in:
Thibault Jouan 2015-04-30 13:57:52 +00:00
parent b1a6248004
commit 14e255eeb0
2 changed files with 7 additions and 0 deletions

View File

@ -6,6 +6,9 @@ rvm:
- 2.0
- 2.1
- rbx-2
before_script:
- cp config/database.yml.travis config/database.yml
- bundle exec rake db:create db:migrate db:test:prepare
matrix:
fast_finish: true
allow_failures:

View File

@ -0,0 +1,4 @@
test:
adapter: postgresql
database: travis_ci_test
username: postgres