Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
Test against arm64 on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
OskarPersson committed Nov 12, 2019
1 parent 7293699 commit 0a88ffe
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ jobs:
- stage: test
node_js: "12"
os: linux
arch: amd64
before_script: npm run lint || exit 1;
after_success: npm run-script coverage;
- stage: test
node_js: "12"
os: linux
arch: arm64
before_script: npm run lint || exit 1;
after_success: npm run-script coverage;
- stage: platform-test
Expand All @@ -15,12 +22,22 @@ jobs:
- stage: platform-test
node_js: "10"
os: linux
arch: amd64
- stage: platform-test
node_js: "10"
os: linux
arch: arm64
- stage: platform-test
node_js: "10"
os: osx
- stage: platform-test
node_js: "13"
os: linux
arch: amd64
- stage: platform-test
node_js: "13"
os: linux
arch: arm64
- stage: platform-test
node_js: "13"
os: osx
Expand Down
5 changes: 5 additions & 0 deletions lib/extensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ function getHumanArchitecture(arch) {
case 'ia32': return '32-bit';
case 'x86': return '32-bit';
case 'x64': return '64-bit';
case 'armv7l': return '32-bit, ARM';
case 'armv7hf': return '32-bit, ARM';
case 'armv8': return '64-bit, ARM';
case 'aarch64': return '64-bit, ARM';
case 'arm64': return '64-bit, ARM';
default: return false;
}
}
Expand Down

0 comments on commit 0a88ffe

Please sign in to comment.