Fix Travis CI "sh: 0: Can't open /etc/init.d/xvfb" issue

This commit is contained in:
Peter Dave Hello 2021-04-23 21:51:25 +08:00
parent bb372ec424
commit eb92045cf9

View File

@ -1,7 +1,5 @@
language: node_js language: node_js
node_js: node_js:
- "8" - "8"
before_script: services:
- "export DISPLAY=:99.0" - xvfb
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start