Commit d61e4c33 by Dane Springmeyer

another attempt to work around npm and ^ problem - refs…

another attempt to work around npm and ^ problem - refs https://github.com/npm/fstream/commit/f96c1b338148439e73f7e70ffbdc37e2759dfc68
parent a0cd873e
...@@ -26,8 +26,6 @@ matrix: ...@@ -26,8 +26,6 @@ matrix:
os: osx os: osx
before_install: before_install:
# work around old npm problem with ^
- if [[ "${NODE_VERSION}" == '0.8' ]]; then npm install npm -g; fi
# check if tag exists and matches package.json # check if tag exists and matches package.json
- scripts/validate_tag.sh - scripts/validate_tag.sh
......
...@@ -31,9 +31,11 @@ install: ...@@ -31,9 +31,11 @@ install:
- SET PATH=%APPDATA%\npm;%PATH% - SET PATH=%APPDATA%\npm;%PATH%
# add local node-pre-gyp dir to path # add local node-pre-gyp dir to path
- SET PATH=node_modules\.bin;%PATH% - SET PATH=node_modules\.bin;%PATH%
# upgrade node-gyp and npm to work around bugs # upgrade node-gyp to support --msvs_version=2013
- if "%nodejs_version%" == "0.8.28" npm install node-gyp - npm install node-gyp
- if "%nodejs_version%" == "0.8.28" npm install npm -g # # work around old npm problem with ^
- npm install npm -g
- npm --version
- npm install --build-from-source --msvs_version=2013 - npm install --build-from-source --msvs_version=2013
- npm test - npm test
- node-pre-gyp package - node-pre-gyp package
......
...@@ -27,6 +27,9 @@ nvm use $NODE_VERSION ...@@ -27,6 +27,9 @@ nvm use $NODE_VERSION
set -u set -u
node --version node --version
npm --version npm --version
# work around old npm problem with ^
npm install npm -g
npm --version
# test installing from source # test installing from source
npm install --build-from-source npm install --build-from-source
......
...@@ -11,6 +11,9 @@ nvm install 0.10 ...@@ -11,6 +11,9 @@ nvm install 0.10
set -u set -u
node --version node --version
npm --version npm --version
# work around old npm problem with ^
npm install npm -g
npm --version
npm install nw-gyp npm install nw-gyp
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment