☕️ Classic, reliable, trusted test framework for Node.js and the browser
ci(.travis.yml,appveyor.yml): Use current npm version in CI scripts (#3579)
P. Roebuck9f02180f1c87
diff --git a/.travis.yml b/.travis.ymlindex f6153f68..368bc983 100644--- a/.travis.yml+++ b/.travis.yml@@ -21,7 +21,7 @@ addons:before_install: |[[ ! -x ~/npm/node_modules/.bin/npm ]] && {# caching feature creates `~/npm` for us- cd ~/npm && npm install npm@^5+ cd ~/npm && npm install npmcd -} || true# avoids bugs around https://github.com/travis-ci/travis-ci/issues/5092diff --git a/appveyor.yml b/appveyor.ymlindex da1cd9cb..32ed327d 100644--- a/appveyor.yml+++ b/appveyor.yml@@ -37,7 +37,7 @@ install:- set PATH=%APPDATA%\npm;C:\MinGW\bin;%PATH%- ps: Install-Product node $env:nodejs_version x64- ps: Add-AppveyorMessage "Installing npm..."- - npm install -g npm@^5+ - npm install -g npm## Mocha-related package installs- ps: Add-AppveyorMessage "Installing Mocha dependencies..."- npm ci --ignore-scripts