print the exact node version on travis and appveyor and always run the latest npm on appveyor

This commit is contained in:
Francis Gulotta 2016-05-06 23:26:28 -04:00
parent a0742a0b31
commit c446c8d53d
2 changed files with 7 additions and 2 deletions

View file

@ -59,6 +59,7 @@ before_install:
- npm install -g npm
- npm install -g node-gyp node-pre-gyp node-pre-gyp-github
# print versions
- node --version
- npm --version
- node-gyp --version
- node-pre-gyp --version

View file

@ -30,8 +30,12 @@ install:
- cmd: SET PATH=%cd%\node_modules\.bin\;%PATH%
- ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) $env:platform
- cmd: IF %nodejs_version% LSS 1 npm -g install npm
- cmd: IF %nodejs_version% LSS 1 set PATH=%APPDATA%\npm;%PATH%
- cmd: npm -g install npm
- cmd: set PATH=%APPDATA%\npm;%PATH%
# print versions
- cmd: node -v
- cmd: npm -v
- cmd: SET COMMIT_MSG="%APPVEYOR_REPO_COMMIT_MESSAGE%"
- cmd: SET PUBLISH_BINARY=false