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
after_script:
- greenkeeper-lockfile-upload
install:
- npm ci || npm i
script: travis_retry npm run $COMMAND
env:
global:
@ -64,8 +62,8 @@ branches:
- master
- /^greenkeeper/.*$/
cache:
npm: true
yarn: true
bundler: true
directories:
- $HOME/.npm
- $HOME/.rvm
- $HOME/.bundle
- $HOME/.yarn-cache
- /home/travis/.rvm/