diff --git a/.travis.yml b/.travis.yml index 4ad0c9c37..b8e580659 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,10 +37,13 @@ matrix: env: TRAVIS_NODE_VERSION="9" ARCH="x86" - os: osx env: TRAVIS_NODE_VERSION="10" ARCH="x86" + - os: linux + env: TRAVIS_NODE_VERSION="10" ARCH="x86" before_install: # download node if testing x86 architecture +- nvm install $TRAVIS_NODE_VERSION - > if [[ "$ARCH" == "x86" ]]; then BASE_URL=$(node -p "'https://nodejs.org/dist/' + process.version"); @@ -48,9 +51,7 @@ before_install: wget $BASE_URL/$X86_FILE.tar.gz; tar -xf $X86_FILE.tar.gz; nvm deactivate; - export PATH=$X86_FILE/bin:$PATH; - else - nvm install $TRAVIS_NODE_VERSION + export PATH=`pwd`/$X86_FILE/bin:$PATH; fi; # use g++-4.8 on Linux diff --git a/README.md b/README.md index 909533c56..fa813b1b4 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ In addition to reading the [article mentioned above](http://www.voodootikigod.co | Platform / Arch | Node v4.x | Node v6.x | Node v8.x | Node v9.x | Node v10.x | | --- | --- | --- | --- | --- | --- | -| Linux / ia32 | ☑ | ☑ | ☑ | ☑ | ☑ | +| Linux / ia32 | ☑ | ☑ | ☑ | ☑ | ☐ | | Linux / x64 | ☑ | ☑ | ☑ | ☑ | ☑ | | Linux / ARM v6¹ | ☐ | ☐ | ☐ | ☐ | ☐ | | Linux / ARM v7¹ | ☐ | ☐ | ☐ | ☐ | ☐ | diff --git a/docs/index.html b/docs/index.html index b316ddbfd..4e982d7db 100644 --- a/docs/index.html +++ b/docs/index.html @@ -122,6 +122,7 @@
serialport
supports NodeJS v4 and upwar
serialport
supports NodeJS v4 and upwar
serialport
supports NodeJS v4 and upwar
serialport
supports NodeJS v4 and upwar
serialport
supports NodeJS v4 and upwar
serialport
supports NodeJS v4 and upwar
serialport
supports NodeJS v4 and upwar
serialport
supports NodeJS v4 and upwar
¹ ARM, MIPSel and PPC64¹ platforms are not currently part of our testing or build matrix, but are known to work.
² Windows 7, 8, 10, and 10 IoT are supported, but our CI tests only Windows Server 2012 R2.
³ OSX 10.4 Tiger and above are supported, but our CI tests only 10.9.5 Mavericks with Xcode 6.1.
-⁴ Node 9 is not supported but we're providing builds for it.
For most "standard" use cases (Node v4.x on Mac, Linux, or Windows on a x86 or x64 processor), Node-Serialport will install nice and easy with:
npm install serialport
We use prebuild to compile and post binaries of the library for most common use cases (Linux, Mac, Windows on standard processor platforms). If you have a special case, Node-Serialport will work, but it will compile the binary during the install. Compiling with nodejs is done via node-gyp
which requires Python 2.x, so please ensure you have it installed and in your path for all operating systems. Python 3.x will not work.
This assumes you have everything on your system necessary to compile ANY native module for Node.js. If you don't, then please ensure the following are true for your system before filing a "Does not install" issue.
@@ -480,7 +490,7 @@serialport-list
will list all available