Skip to content

Commit 1d67a2a

Browse files
committed
chore(ci): try agressive yarn caching on travis (#22)
1 parent cfdd55e commit 1d67a2a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.travis.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,17 @@ addons:
1313
- g++-4.8
1414
matrix:
1515
fast_finish: true
16-
cache: yarn
16+
cache:
17+
directories:
18+
- $HOME/.npm
19+
- $HOME/.cache/yarn
20+
- node_modules
1721
before_install:
22+
- npm i -g yarn --cache-min 999999999
1823
- yarn config set no-progress
1924
- yarn global add greenkeeper-lockfile@1
25+
install:
26+
- yarn
2027
before_script: greenkeeper-lockfile-update
2128
script: yarn test && yarn codecov
2229
after_script: greenkeeper-lockfile-upload

0 commit comments

Comments
 (0)