Add xvfb service to .travis.yml explicitly (#910)

This should fix the errors opening /etc/init.d/xvfb
This commit is contained in:
Hajime Hoshi 2019-08-08 19:53:45 +09:00 committed by GitHub
parent 67feca100e
commit d469084fd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,9 @@ addons:
- libxxf86vm-dev - libxxf86vm-dev
chrome: stable chrome: stable
services:
- xvfb
install: install:
- mkdir /tmp/work - mkdir /tmp/work
- cd /tmp/work - cd /tmp/work
@ -38,8 +41,6 @@ install:
before_script: before_script:
- export DISPLAY=:99.0 - export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3
script: script:
- cd /tmp/work - cd /tmp/work