Ran migrations, migrate, prepare the test db on travis, use rspec

This commit is contained in:
Henne Vogelsang 2014-04-09 18:21:32 +02:00
parent 03d42cfaad
commit 25f24c1410
2 changed files with 10 additions and 5 deletions

View file

@ -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"