Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: build isn't using the right version on 32x #1564

Merged
merged 1 commit into from
May 6, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,21 @@ 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");
X86_FILE=$(node -p "'node-' + process.version + '-' + process.platform + '-x86'");
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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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¹ | ☐ | ☐ | ☐ | ☐ | ☐ |
Expand Down
22 changes: 16 additions & 6 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ <h3>Platform Support</h3><p><code>serialport</code> supports NodeJS v4 and upwar
<th>Node v6.x</th>
<th>Node v8.x</th>
<th>Node v9.x</th>
<th>Node v10.x</th>
</tr>
</thead>
<tbody>
Expand All @@ -130,77 +131,86 @@ <h3>Platform Support</h3><p><code>serialport</code> supports NodeJS v4 and upwar
<td>☑</td>
<td>☑</td>
<td>☑</td>
<td>☑</td>
<td>☐</td>
</tr>
<tr>
<td>Linux / x64</td>
<td>☑</td>
<td>☑</td>
<td>☑</td>
<td>☐</td>
<td>☑</td>
<td>☑</td>
</tr>
<tr>
<td>Linux / ARM v6¹</td>
<td>☐</td>
<td>☐</td>
<td>☐</td>
<td>☐</td>
<td>☐</td>
</tr>
<tr>
<td>Linux / ARM v7¹</td>
<td>☐</td>
<td>☐</td>
<td>☐</td>
<td>☐</td>
<td>☐</td>
</tr>
<tr>
<td>Linux / ARM v8¹</td>
<td>☐</td>
<td>☐</td>
<td>☐</td>
<td>☐</td>
<td>☐</td>
</tr>
<tr>
<td>Linux / MIPSel¹</td>
<td>☐</td>
<td>☐</td>
<td>☐</td>
<td>☐</td>
<td>☐</td>
</tr>
<tr>
<td>Linux / PPC64¹</td>
<td>☐</td>
<td>☐</td>
<td>☐</td>
<td>☐</td>
<td>☐</td>
</tr>
<tr>
<td>Windows² / x86</td>
<td>☐</td>
<td>☑</td>
<td>☑</td>
<td>☐</td>
<td>☑</td>
<td>☑</td>
</tr>
<tr>
<td>Windows² / x64</td>
<td>☑</td>
<td>☑</td>
<td>☑</td>
<td>☐</td>
<td>☑</td>
<td>☑</td>
</tr>
<tr>
<td>OSX³ / x64</td>
<td>☑</td>
<td>☑</td>
<td>☑</td>
<td>☐</td>
<td>☑</td>
<td>☑</td>
</tr>
</tbody>
</table>
<p>¹ ARM, MIPSel and PPC64¹ platforms are not currently part of our testing or build matrix, but are known to work.</p>
<p>² Windows 7, 8, 10, and 10 IoT are supported, but our CI tests only Windows Server 2012 R2.</p>
<p>³ OSX 10.4 Tiger and above are supported, but our CI tests only 10.9.5 Mavericks with Xcode 6.1.</p>
<p>⁴ Node 9 is not supported but we're providing builds for it.</p>
<h2>Installation Instructions</h2><p>For most &quot;standard&quot; use cases (Node v4.x on Mac, Linux, or Windows on a x86 or x64 processor), Node-Serialport will install nice and easy with:</p>
<pre class="prettyprint source"><code>npm install serialport</code></pre><h3>Installation Special Cases</h3><p>We use <a href="https://github.com/mafintosh/prebuild">prebuild</a> 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 <code>node-gyp</code> 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.</p>
<p>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 &quot;Does not install&quot; issue.</p>
Expand Down Expand Up @@ -480,7 +490,7 @@ <h3>Serial Port List</h3><p><code>serialport-list</code> will list all available
<br class="clear">

<footer>
Documentation generated at Sun Apr 15 2018 22:06:31 GMT-0400 (EDT)
Documentation generated at Sun May 06 2018 01:37:34 GMT-0400 (EDT)
</footer>

<script>prettyPrint();</script>
Expand Down