Get selenium working on travisci

This commit is contained in:
Luke Barratt 2014-08-10 21:15:23 +01:00
parent 7f1fa1d154
commit 7c2aac7a53

View file

@ -8,6 +8,9 @@ rvm:
- 2.1.2 - 2.1.2
env: env:
- MYSQL_USERNAME=travis - MYSQL_USERNAME=travis
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
script: script:
- RAILS_ENV=test bundle exec rake db:create db:migrate db:test:prepare - RAILS_ENV=test bundle exec rake db:create db:migrate db:test:prepare
- RAILS_ENV=test bundle exec rspec spec - RAILS_ENV=test bundle exec rspec spec