diff --git a/.travis.yml b/.travis.yml index b9912bde4..da13bda1c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,8 @@ node_js: addons: code_climate: repo_token: 7454b1a666015e244c384d19f48c34e35d1ae58c3aa428ec542f10bbcb848358 +before_install: + - npm i -g npm@latest script: - npm run lint - npm run test diff --git a/appveyor.yml b/appveyor.yml index 095924a09..0a937547a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -7,7 +7,7 @@ install: # Get the latest stable version of Node.js or io.js - ps: Install-Product node $env:nodejs_version # install modules - - npm install -g npm@5.7 + - npm install -g npm@latest - npm install # Post-install test scripts.