From d36dfc0ee8304b9689912b6c7922de1236dad90c Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sun, 11 Nov 2018 14:22:28 -0800 Subject: [PATCH] chore(travis): more concise travis cache config (#632) --- .travis.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index d9b6bf21..e10664a4 100644 --- a/.travis.yml +++ b/.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/