Skip to content

Commit 07e6fb6

Browse files
fix(travis): use service: xvfb instead of launching it manually. install libgconf debian package
1 parent 673ba69 commit 07e6fb6

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

.travis.yml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
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-
- if [ "x${CORE_BRANCH}x" != "xx" ] ; then ./node_modules/.bin/publish_yalc_package .downstream_cache/core https://github.com/ui-router/core.git && yalc add @uirouter/core ; fi
9-
- tsc &&
10-
yarn test &&
11-
yarn docs &&
12-
yarn test:downstream
10+
- if [ "x${CORE_BRANCH}x" != "xx" ] ; then ./node_modules/.bin/publish_yalc_package .downstream_cache/core https://github.com/ui-router/core.git && yalc add @uirouter/core ; fi
11+
- tsc &&
12+
yarn test &&
13+
yarn docs &&
14+
yarn test:downstream
1315
env:
1416
matrix:
15-
- CORE_BRANCH=
16-
- CORE_BRANCH=master UPSTREAM_PKGS=@uirouter/core
17+
- CORE_BRANCH=
18+
- CORE_BRANCH=master UPSTREAM_PKGS=@uirouter/core
1719
notifications:
1820
slack:
1921
on_success: never
@@ -24,5 +26,5 @@ git:
2426
depth: 3
2527
cache:
2628
directories:
27-
- node_modules
28-
- ".downstream_cache"
29+
- node_modules
30+
- '.downstream_cache'

0 commit comments

Comments
 (0)