Skip to content

Commit 85e8b6b

Browse files
chore(travis): add xvfb via travis services block
1 parent 6f0e163 commit 85e8b6b

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

.travis.yml

+13-12
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
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+
- export PATH=$HOME/.yarn/bin:$PATH
7+
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.5.1
78
script:
8-
- if [ "x${CORE_BRANCH}x" != "xx" ]; then npx 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
9+
- if [ "x${CORE_BRANCH}x" != "xx" ]; then npx publish_yalc_package .downstream_cache/core https://github.com/ui-router/core.git && yalc add @uirouter/core ; fi
10+
- tsc &&
11+
yarn test &&
12+
yarn docs &&
13+
yarn test:downstream
1314
env:
1415
matrix:
15-
- CORE_BRANCH=
16-
- CORE_BRANCH=master UPSTREAM_PKGS=@uirouter/core
16+
- CORE_BRANCH=
17+
- CORE_BRANCH=master UPSTREAM_PKGS=@uirouter/core
1718
notifications:
1819
slack:
1920
on_success: never
@@ -24,5 +25,5 @@ git:
2425
depth: 3
2526
cache:
2627
directories:
27-
- node_modules
28-
- ".downstream_cache"
28+
- node_modules
29+
- '.downstream_cache'

0 commit comments

Comments
 (0)