diff --git a/.travis.yml b/.travis.yml index 7485010..f1c6fff 100644 --- a/.travis.yml +++ b/.travis.yml @@ -55,7 +55,8 @@ before_install: - X86_FILE=$(node -p "v=parseInt(process.versions.node),(v>=1&&v<4?'iojs':'node')+'-'+process.version+'-'+process.platform+'-x86'") # download node if testing x86 architecture - if [[ "$ARCH" == "x86" ]]; then wget $BASE_URL/$X86_FILE.tar.gz; tar -xf $X86_FILE.tar.gz; export PATH=$X86_FILE/bin:$PATH; fi -# reinstall npm and node-pre-gyp +# Install the latest npm node-pre-gyp and node-pre-gyp-github +- npm install -g npm - npm install -g node-gyp node-pre-gyp node-pre-gyp-github # print versions - npm --version