load database schema before test execution on Travis CI
This commit is contained in:
@ -6,6 +6,7 @@ before_script:
|
||||
- cp config/database.yml.travis config/database.yml
|
||||
- cp config/secrets.yml.travis config/secrets.yml
|
||||
- psql --command='CREATE DATABASE travis_ci_test;' --username=postgres
|
||||
- bundle exec rake db:schema:load RAILS_ENV=test
|
||||
language: ruby
|
||||
rvm:
|
||||
- 2.1.5
|
||||
|
Reference in New Issue
Block a user