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

Commit c582c9c

Browse files
chore(travis): on_success: change
1 parent b92a07c commit c582c9c

File tree

1 file changed

+9
-14
lines changed

1 file changed

+9
-14
lines changed

.travis.yml

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
language: node_js
2-
node_js: '8.9.1'
3-
2+
node_js: 8.9.1
43
before_install: yarn global add greenkeeper-lockfile@1 yalc
54
install: yarn --check-files
6-
75
before_script: greenkeeper-lockfile-update && greenkeeper-lockfile-upload
86
script:
9-
# If CORE_BRANCH is set, fetch and build the @uirouter/core branch from github, then install it
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-
# If DOWNSTREAM or DOWNSTREAM_PKGS is set, run downstream packages' tests instead
12-
- if [ "x${DOWNSTREAM_PKGS}${DOWNSTREAM}x" != "xx" ] ; then npm run test:downstream ; else tsc && npm test ; fi
13-
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
1412
env:
1513
global:
1614
secure: TanWbkSRljYf0ENPiF3LDM+6RDYyUZoVIIQjUk9UDZ1MBvzEiqISB/zKSXSoYY1JNZpNcXgje2Sl08yGhAugRVodH+FJa/khSkXwRsZAlJuG8qPFAevW4gffvJvPAE7O0uy4jLyyu+Fi9dptdi1zDGsOps/Q+WURH9jWPGmQpj8=
@@ -19,23 +17,20 @@ env:
1917
- CORE_BRANCH=master
2018
- CORE_BRANCH=master UPSTREAM_PKGS=@uirouter/core DOWNSTREAM=true
2119
- DOWNSTREAM=true
22-
2320
matrix:
2421
fast_finish: true
2522
allow_failures:
2623
- env: CORE_BRANCH=
2724
- env: DOWNSTREAM=true
2825
- env: CORE_BRANCH=master UPSTREAM_PKGS=@uirouter/core DOWNSTREAM=true
29-
3026
notifications:
3127
slack:
3228
on_success: change
33-
secure: LqlW9u5Lyh7eHffLqfrIEyIdpqJmPg29NQHqjM6ij2BUFOs9se+NgpRagfICukCEMimOdzEiIE6S4DXNhCcy6hoA24cpswb84vHRuZ4pFz8USq13rX72AgygR1tPKB9sbXLp+XIjRaLPO5z8asECCr7jxSCpMvHRylPAGL4DduI=
34-
29+
rooms:
30+
secure: alXA+pERLtF4DNctl+WaISO3uzUA/JzVCzSrDlNsV9Jvx1HdAqRNbrrnNYzCZBIU6OOv5YBGFbq79v5NPKzMPzoR8dp3PahlxRgucxALweoTCXY5DuDHVSI9ULLl2PND7QOfKyUALuAz5nmT7omPVxRKCpBkVsqewLfMeW1MRgE=
3531
sudo: false
36-
3732
cache:
3833
yarn: true
3934
directories:
40-
- .downstream_cache
35+
- ".downstream_cache"
4136
- node_modules

0 commit comments

Comments
 (0)