Travis CI: Enable xvfb on testing

xvfb now becomes a service on Travis CI.
https://docs.travis-ci.com/user/build-environment-updates/2019-01-14/
This commit is contained in:
Takeshi KOMIYA 2019-01-18 00:02:20 +09:00
parent 0081482eb7
commit 3a39dce9e5

View File

@ -33,9 +33,7 @@ matrix:
node_js:
- 10.7
env: IS_PYTHON=false
before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
services: xvfb
install:
- if [ $IS_PYTHON = true ]; then pip install -U tox codecov; fi