mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-11-15 09:21:25 +00:00
Get selenium working on travisci
This commit is contained in:
parent
7f1fa1d154
commit
7c2aac7a53
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue