Skip to content

Commit

Permalink
Fix Travis CI "sh: 0: Can't open /etc/init.d/xvfb" issue
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterDaveHello committed Apr 23, 2021
1 parent bb372ec commit eb92045
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
language: node_js
node_js:
- "8"
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
services:
- xvfb

0 comments on commit eb92045

Please sign in to comment.