mirror of
https://github.com/siemens-mobile-hacks/node-serialport-bindings-cpp.git
synced 2026-11-26 02:47:17 +00:00
Possibly fix 32 bit binaries (#848)
This commit is contained in:
parent
7e20789bf0
commit
4a7e15dfc3
1 changed files with 7 additions and 0 deletions
|
|
@ -47,7 +47,14 @@ before_install:
|
|||
- nvm install $TRAVIS_NODE_VERSION
|
||||
- PATH=$PATH:`pwd`/node_modules/.bin
|
||||
|
||||
- BASE_URL=$(node -p "'https://nodejs.org/dist/' + process.version")
|
||||
- X86_FILE=$(node -p "'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
|
||||
|
||||
# print versions
|
||||
- uname -a
|
||||
- file `which node`
|
||||
- node --version
|
||||
- node -p 'process.platform + "@" + process.arch'
|
||||
- npm --version
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue