Skip to content

Commit 10e073a

Browse files
committed
Update Travis xvfb config according to https://docs.travis-ci.com/user/gui-and-headless-browsers/
1 parent 00661e8 commit 10e073a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
dist: xenial
2+
3+
services:
4+
- xvfb
5+
16
language: node_js
27

38
node_js:
@@ -9,3 +14,4 @@ install:
914
before_script:
1015
- export DISPLAY=:99.0
1116
- sh -e /etc/init.d/xvfb start
17+
- sleep 3 # give xvfb some time to start

0 commit comments

Comments
 (0)