Skip to content

Commit 53b751a

Browse files
committed
ci(xvfb): adds xvfb to run GUI on travis
1 parent a663a8d commit 53b751a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ language: node_js
33
node_js:
44
- "node"
55
- "6"
6-
7-
6+
before_script:
7+
- "export DISPLAY=:99.0"
8+
- "sh -e /etc/init.d/xvfb start"
9+
- sleep 3 # give xvfb some time to start
810
cache:
911
directories:
1012
- node_modules

0 commit comments

Comments
 (0)