chore(travis): more concise travis cache config (#632)
This commit is contained in:
parent
5b5c6937d0
commit
d36dfc0ee8
10
.travis.yml
10
.travis.yml
|
@ -44,8 +44,6 @@ before_script:
|
||||||
- greenkeeper-lockfile-update
|
- greenkeeper-lockfile-update
|
||||||
after_script:
|
after_script:
|
||||||
- greenkeeper-lockfile-upload
|
- greenkeeper-lockfile-upload
|
||||||
install:
|
|
||||||
- npm ci || npm i
|
|
||||||
script: travis_retry npm run $COMMAND
|
script: travis_retry npm run $COMMAND
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
|
@ -64,8 +62,8 @@ branches:
|
||||||
- master
|
- master
|
||||||
- /^greenkeeper/.*$/
|
- /^greenkeeper/.*$/
|
||||||
cache:
|
cache:
|
||||||
|
npm: true
|
||||||
|
yarn: true
|
||||||
|
bundler: true
|
||||||
directories:
|
directories:
|
||||||
- $HOME/.npm
|
- /home/travis/.rvm/
|
||||||
- $HOME/.rvm
|
|
||||||
- $HOME/.bundle
|
|
||||||
- $HOME/.yarn-cache
|
|
||||||
|
|
Loading…
Reference in New Issue