mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-28 13:31:06 +00:00
Get selenium working on travisci
This commit is contained in:
parent
d40e0e4c46
commit
8d6ad51645
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