Skip to content
This repository was archived by the owner on May 26, 2023. It is now read-only.

Commit 9f17eda

Browse files
chore(travis): use xvfb, always test downstream, test docgen
1 parent 12417ee commit 9f17eda

File tree

1 file changed

+6
-18
lines changed

1 file changed

+6
-18
lines changed

.travis.yml

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,16 @@
11
language: node_js
22
node_js: 8.9.1
3-
before_install: yarn global add greenkeeper-lockfile@1 yalc
4-
install: yarn --check-files
5-
before_script: greenkeeper-lockfile-update && greenkeeper-lockfile-upload
3+
before_install: sh -e /etc/init.d/xvfb start
64
script:
7-
- if [ "x${CORE_BRANCH}x" != "xx" ] ; then ./node_modules/.bin/publish_yalc_package
8-
.downstream_cache/core https://github.com/ui-router/core.git && yalc add @uirouter/core
9-
; fi
10-
- if [ "x${DOWNSTREAM_PKGS}${DOWNSTREAM}x" != "xx" ] ; then npm run test:downstream
11-
; else tsc && npm test ; fi
5+
- 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 && export UPSTREAM_PKGS=@uirouter/core; fi
6+
- tsc
7+
- yarn test
8+
- npx generate_docs
9+
- yarn test:downstream
1210
env:
13-
global:
14-
secure: TanWbkSRljYf0ENPiF3LDM+6RDYyUZoVIIQjUk9UDZ1MBvzEiqISB/zKSXSoYY1JNZpNcXgje2Sl08yGhAugRVodH+FJa/khSkXwRsZAlJuG8qPFAevW4gffvJvPAE7O0uy4jLyyu+Fi9dptdi1zDGsOps/Q+WURH9jWPGmQpj8=
1511
matrix:
1612
- CORE_BRANCH=
1713
- CORE_BRANCH=master
18-
- CORE_BRANCH=master UPSTREAM_PKGS=@uirouter/core DOWNSTREAM=true
19-
- DOWNSTREAM=true
20-
matrix:
21-
fast_finish: true
22-
allow_failures:
23-
- env: CORE_BRANCH=
24-
- env: DOWNSTREAM=true
25-
- env: CORE_BRANCH=master UPSTREAM_PKGS=@uirouter/core DOWNSTREAM=true
2614
notifications:
2715
slack:
2816
on_success: never

0 commit comments

Comments
 (0)