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.
This commit is contained in:
Ray Schamp 2016-10-03 11:35:13 -04:00
parent 46a2fe76eb
commit 5b3fe7ee1b

View file

@ -6,6 +6,9 @@ sudo: false
cache: cache:
directories: directories:
- node_modules - node_modules
before_install:
# Install the most up to date scratch-* dependencies
- rm -rf node_modules/scratch-*
after_script: after_script:
- | - |
# RELEASE_BRANCHES and NPM_TOKEN defined in Travis settings panel # RELEASE_BRANCHES and NPM_TOKEN defined in Travis settings panel