Skip to content

Commit

Permalink
Try and debug why appveyor is failing on npm
Browse files Browse the repository at this point in the history
  • Loading branch information
shama committed Jul 9, 2017
1 parent 48bba6c commit a9a20da
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions appveyor.yml
Expand Up @@ -16,10 +16,11 @@ platform:
- x64
install:
- ps: Install-Product node $env:nodejs_version
# Install npm@3 if the version is currently 1 or 2
- npm -v
- if [[ `npm -v` =~ ^[1-2] ]]; then npm i -g npm@3; fi
- npm install
test_script:
# Install npm@3 if the npm version is 1 or 2
- if [[ `npm -v` =~ ^[1-2] ]]; then npm i -g npm@3; fi
# Output useful info for debugging.
- node --version && npm --version
# We test multiple Windows shells because of prior stdout buffering issues
Expand Down

0 comments on commit a9a20da

Please sign in to comment.