Browse Source

setup the test db

development
William Wedler 10 years ago
parent
commit
f14038b68c
  1. 3
      .travis.yml

3
.travis.yml

@ -7,5 +7,8 @@ before_install:
before_script:
- cp config/database.yml.travis config/database.yml
- psql -c 'create database travis_ci_test;' -U postgres
# consider dumping sql via db:structure:dump then loading directly into psql
# "psql -U postgres -q -d DB_NAME -f db/structure.sql"
- bundle exec rake db:test:prepare
script: bundle exec cucumber
env: RAILS_ENV=test
Loading…
Cancel
Save