Skip to content

Commit 4db31e3

Browse files
committed
Use service xvfb.
1 parent cc80f7f commit 4db31e3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: .travis.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ node_js:
88
- '10'
99
dist: xenial
1010
sudo: required
11+
services:
12+
- xvfb
1113
addons:
1214
chrome: stable
1315
before_script:
14-
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start; fi
16+
- export DISPLAY=:99.0
1517
install:
1618
- npm set progress=false
1719
- npm install

0 commit comments

Comments
 (0)