From c446c8d53d4515f63c0d408cbb3dbe3e691e622b Mon Sep 17 00:00:00 2001 From: Francis Gulotta Date: Fri, 6 May 2016 23:26:28 -0400 Subject: [PATCH] print the exact node version on travis and appveyor and always run the latest npm on appveyor --- .travis.yml | 1 + appveyor.yml | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index f1c6fff..b172220 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/appveyor.yml b/appveyor.yml index c3f7467..503664e 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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