Skip to content

Commit c98effa

Browse files
fix(travis): use service: xvfb instead of launching it manually. install libgconf debian package
1 parent 0fe0fff commit c98effa

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.travis.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
language: node_js
22
node_js: 8.9.1
3+
services:
4+
- xvfb
35
before_install:
4-
- sh -e /etc/init.d/xvfb start
6+
- sudo apt-get install libgconf-2-4
7+
- export DISPLAY=:99.0
58
- export PATH=$HOME/.yarn/bin:$PATH
69
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.5.1
710
script: yarn build && yarn test && yarn e2e

0 commit comments

Comments
 (0)