Ran migrations, migrate, prepare the test db on travis, use rspec
This commit is contained in:
parent
03d42cfaad
commit
25f24c1410
2 changed files with 10 additions and 5 deletions
|
|
@ -8,8 +8,12 @@ notifications:
|
|||
email:
|
||||
on_success: change
|
||||
on_failure: change
|
||||
before_install:
|
||||
script:
|
||||
- "cp config/database.yml.example config/database.yml"
|
||||
- "cp config/config.yml.example config/config.yml"
|
||||
- RAILS_ENV=test bundle exec rake db:migrate --trace
|
||||
- bundle exec rake db:test:prepare
|
||||
- bundle exec rake spec
|
||||
before_install:
|
||||
- "export DISPLAY=:99.0"
|
||||
- "sh -e /etc/init.d/xvfb start"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue