mirror of
https://github.com/siemens-mobile-hacks/node-serialport-bindings-cpp.git
synced 2026-11-25 18:37:19 +00:00
print the exact node version on travis and appveyor and always run the latest npm on appveyor
This commit is contained in:
parent
a0742a0b31
commit
c446c8d53d
2 changed files with 7 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue