Skip to content

Commit fb48a4a

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

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.travis.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
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
5-
- export PATH=$HOME/.yarn/bin:$PATH
6-
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.5.1
6+
- sudo apt-get install libgconf-2-4
7+
- export PATH=$HOME/.yarn/bin:$PATH
8+
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.5.1
79
script:
8-
- yarn build &&
9-
yarn test &&
10-
yarn test:downstream
10+
- yarn build &&
11+
yarn test &&
12+
yarn test:downstream
1113
notifications:
1214
slack:
1315
on_success: never
@@ -18,5 +20,5 @@ git:
1820
depth: 3
1921
cache:
2022
directories:
21-
- node_modules
22-
- ".downstream_cache"
23+
- node_modules
24+
- '.downstream_cache'

0 commit comments

Comments
 (0)