chore(travis): more concise travis cache config (#632)

This commit is contained in:
Nolan Lawson 2018-11-11 14:22:28 -08:00 committed by GitHub
parent 5b5c6937d0
commit d36dfc0ee8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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