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

Commit 5a1a518

Browse files
chore(travis): switch to .downstream_cache
1 parent 4f1dca8 commit 5a1a518

File tree

3 files changed

+11
-21
lines changed

3 files changed

+11
-21
lines changed

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# common
22
node_modules
33
bower_components
4-
downstream_projects
54

65
.DS_Store
76
*~
@@ -15,8 +14,6 @@ idea-out
1514

1615
# generated files
1716
_doc
18-
.testlib
1917
lib
2018
lib-esm
2119
release
22-
stats.html

.npmignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
**/.*
33

44
node_modules
5-
downstream_projects
65
scripts
76
src
87
test

.travis.yml

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,10 @@
11
language: node_js
22
node_js: '8.9.1'
33

4-
cache:
5-
yarn: true
6-
directories:
7-
- downstream_projects
8-
- node_modules
9-
- ui-router-core
10-
11-
before_install:
12-
- curl -o- -L https://yarnpkg.com/install.sh | bash
13-
- export PATH="$HOME/.yarn/bin:$PATH"
14-
- yarn global add greenkeeper-lockfile@1 yalc
15-
4+
before_install: yarn global add greenkeeper-lockfile@1 yalc
165
install: yarn --check-files
176

187
before_script: greenkeeper-lockfile-update && greenkeeper-lockfile-upload
19-
208
script:
219
# If CORE_BRANCH is set, fetch and build the @uirouter/core branch from github, then install it
2210
- if [ "x${CORE_BRANCH}x" != "xx" ] ; then ./node_modules/.bin/publish_yalc_package ui-router-core https://github.com/ui-router/core.git && yalc add @uirouter/core ; fi
@@ -26,13 +14,10 @@ env:
2614
global:
2715
secure: TanWbkSRljYf0ENPiF3LDM+6RDYyUZoVIIQjUk9UDZ1MBvzEiqISB/zKSXSoYY1JNZpNcXgje2Sl08yGhAugRVodH+FJa/khSkXwRsZAlJuG8qPFAevW4gffvJvPAE7O0uy4jLyyu+Fi9dptdi1zDGsOps/Q+WURH9jWPGmQpj8=
2816
matrix:
29-
# When CORE_BRANCH env variable is set, it will fetch, build, and test using that branch of @uirouter/core
3017
- CORE_BRANCH=
3118
- CORE_BRANCH=master
19+
- CORE_BRANCH=master UPSTREAM_PKGS=@uirouter/core DOWNSTREAM_PKGS=sample-app-angularjs
3220
- DOWNSTREAM_PKGS=sample-app-angularjs
33-
- DOWNSTREAM_PKGS=sample-app-angularjs CORE_BRANCH=master
34-
35-
sudo: false
3621

3722
matrix:
3823
fast_finish: true
@@ -43,3 +28,12 @@ matrix:
4328
notifications:
4429
slack:
4530
secure: LqlW9u5Lyh7eHffLqfrIEyIdpqJmPg29NQHqjM6ij2BUFOs9se+NgpRagfICukCEMimOdzEiIE6S4DXNhCcy6hoA24cpswb84vHRuZ4pFz8USq13rX72AgygR1tPKB9sbXLp+XIjRaLPO5z8asECCr7jxSCpMvHRylPAGL4DduI=
31+
32+
sudo: false
33+
34+
cache:
35+
yarn: true
36+
directories:
37+
- .downstream_cache
38+
- node_modules
39+
- ui-router-core

0 commit comments

Comments
 (0)