Skip to content

Commit

Permalink
Move to the test script to avoid npm was unexpected at this time.
Browse files Browse the repository at this point in the history
  • Loading branch information
shama committed Jul 9, 2017
1 parent 6b97ac0 commit 48bba6c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion appveyor.yml
Expand Up @@ -16,9 +16,10 @@ platform:
- x64
install:
- ps: Install-Product node $env:nodejs_version
- cmd: 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 48bba6c

Please sign in to comment.