From 5b3fe7ee1b1273f1102e99709d6626ee7918e970 Mon Sep 17 00:00:00 2001 From: Ray Schamp Date: Mon, 3 Oct 2016 11:35:13 -0400 Subject: [PATCH] Ensure scratch-* dependencies are up to date With node_modules cached, npm install sees the scratch-* dependencies satisfied (since if any version 0.1.0-prepublish.x satisfies ^0.1.0-prepublish). So remove these before the install step to ensure the latest version is installed. --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index f836d9861..091fe53fe 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,9 @@ sudo: false cache: directories: - node_modules +before_install: +# Install the most up to date scratch-* dependencies +- rm -rf node_modules/scratch-* after_script: - | # RELEASE_BRANCHES and NPM_TOKEN defined in Travis settings panel