Configure database for travis CI
This commit is contained in:
parent
b1a6248004
commit
14e255eeb0
@ -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
config/database.yml.travis
Normal file
4
config/database.yml.travis
Normal file
@ -0,0 +1,4 @@
|
||||
test:
|
||||
adapter: postgresql
|
||||
database: travis_ci_test
|
||||
username: postgres
|
Loading…
x
Reference in New Issue
Block a user