File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -110,8 +110,12 @@ before_install:
110110- nvm install $NODE_VERSION
111111- nvm use $NODE_VERSION
112112-
if test "$NODE_VERSION" = "0.8.28" ; then npm install -g [email protected] ; fi 113- # - npm config set spin=false
114- # - npm config set loglevel=http
113+ # Work around ECONNRESET issues on travis:
114+ # https://github.com/npm/npm/issues/7558#issuecomment-97528256
115+ # https://github.com/npm/npm/issues/7699#issuecomment-93091111
116+ - npm install -g npm@latest
117+ - npm config set spin=false
118+ - npm config set loglevel=http
115119- node --version
116120- npm --version
117121
Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ if [ `node -e "console.log(process.arch)"` != "ia32" ]; then
4545fi
4646# install 32 bit compiler toolchain and X11
4747# test source compile in 32 bit mode
48+ npm install -g npm@latest
4849npm install --build-from-source
4950node-pre-gyp package testpackage
5051npm test
You can’t perform that action at this time.
0 commit comments