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

Commit 70b50e6

Browse files
chore(travis): normalize travis configs
1 parent ef129b7 commit 70b50e6

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.travis.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,24 @@ before_install:
55
- export PATH=$HOME/.yarn/bin:$PATH
66
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.5.1
77
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 && export UPSTREAM_PKGS=@uirouter/core; fi
9-
- tsc
10-
- yarn test
11-
- yarn docs
12-
- yarn test:downstream
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
1313
env:
1414
matrix:
1515
- CORE_BRANCH=
16-
- CORE_BRANCH=master
16+
- CORE_BRANCH=master UPSTREAM_PKGS=@uirouter/core
1717
notifications:
1818
slack:
1919
on_success: never
2020
rooms:
2121
secure: alXA+pERLtF4DNctl+WaISO3uzUA/JzVCzSrDlNsV9Jvx1HdAqRNbrrnNYzCZBIU6OOv5YBGFbq79v5NPKzMPzoR8dp3PahlxRgucxALweoTCXY5DuDHVSI9ULLl2PND7QOfKyUALuAz5nmT7omPVxRKCpBkVsqewLfMeW1MRgE=
2222
sudo: false
23+
git:
24+
depth: 3
2325
cache:
24-
yarn: true
2526
directories:
26-
- ".downstream_cache"
2727
- node_modules
28+
- ".downstream_cache"

0 commit comments

Comments
 (0)