Update packages after installing

This is the less hacky way to keep scratch-* packages up to date (and any others in the future).  This is only necessary because we cache the node_modules directory.
This commit is contained in:
Ray Schamp 2016-10-17 09:38:41 -04:00
parent 3bfd755e60
commit 95dc6d38b3

View file

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