mirror of
https://github.com/siemens-mobile-hacks/node-serialport-bindings-cpp.git
synced 2026-11-26 02:47:17 +00:00
always upgrade npm on travis (#788)
This commit is contained in:
parent
de9812cdb5
commit
de3cad093a
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue