Configure database for travis CI

This commit is contained in:
Thibault Jouan committed 2015-05-01 10:00:47 +00:00
1 parent b1a6248004
commit 14e255eeb0
2 files changed
+7

No files matched your search

+3
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:
+4
View File
@@ -0,0 +1,4 @@
test:
adapter: postgresql
database: travis_ci_test
username: postgres