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
|
||||
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/
|
||||
|
|
Loading…
Reference in a new issue