From 58fe064dcc80bc08c677647832f2adb4a56b538a Mon Sep 17 00:00:00 2001 From: Rebecca Turner Date: Wed, 16 Nov 2016 15:50:06 -0800 Subject: travis: Save the nyc cache between runs --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index a17c05cb0..c987e6a50 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,8 +12,8 @@ matrix: # only gather coverage info for LTS env: DEPLOY_VERSION=testing COVERALLS_REPO_TOKEN="$COVERALLS_OPTIONAL_TOKEN" script: - - "node . run tap-cover -- \"test/tap/*.js\"" - - "unset COVERALLS_REPO_TOKEN ; node . run tap -- \"test/slow/*.js\" \"test/broken-under-*/*.js\"" + - "node . run tap-cover -- \"test/tap/*.js\" \"test/slow/*.js\"" + - "unset COVERALLS_REPO_TOKEN ; node . run tap -- \"test/broken-under-*/*.js\"" # previous LTS is next most important - node_js: "4" env: DEPLOY_VERSION=testing @@ -33,6 +33,7 @@ cache: directories: - $HOME/.npm - node_modules/.bin + - node_modules/.cache - node_modules/deep-equal - node_modules/marked - node_modules/marked-man -- cgit v1.2.3