Stop clearing the npm cache unnecessarily before tests.

Based on this warning:

npm ERR! As of npm@5, the npm cache self-heals from corruption issues and
npm ERR! data extracted from the cache is guaranteed to be valid. If you
npm ERR! want to make sure everything is consistent, use 'npm cache
npm ERR! verify' instead.
npm ERR!
npm ERR! If you're sure you want to delete the entire cache, rerun this
npm ERR! command with --force.
This commit is contained in:
Ben Newman
2017-06-21 20:35:47 -04:00
committed by Ben Newman
parent 75cc85438c
commit fdd12e15e9
2 changed files with 0 additions and 6 deletions

View File

@@ -4,9 +4,6 @@ cd "`dirname "$0"`"
cd ../..
export METEOR_HOME=`pwd`
# Clear dev_bundle/.npm to ensure consistent test runs.
./meteor npm cache clear
# Just in case these packages haven't been installed elsewhere.
./meteor npm install -g phantomjs-prebuilt browserstack-webdriver

View File

@@ -35,9 +35,6 @@ if [ -z "$CIRCLE_NODE_TOTAL" ] || [ -z "$CIRCLE_NODE_INDEX" ]; then
echo "Running all tests!"
fi
# Clear dev_bundle/.npm to ensure consistent test runs.
./meteor npm cache clear
# Since PhantomJS has been removed from dev_bundle/lib/node_modules
# (#6905), but self-test still needs it, install it now.
./meteor npm install -g phantomjs-prebuilt browserstack-webdriver