diff --git a/.travis.yml b/.travis.yml index 50371d21b..6c79b5bc1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,23 +7,38 @@ jobs: - stage: test node_js: "12" os: linux + arch: amd64 before_script: npm run lint || exit 1; after_success: npm run-script coverage; - stage: platform-test node_js: "12" os: osx + - stage: platform-test + node_js: "12" + os: linux + arch: arm64 - stage: platform-test node_js: "10" os: linux + arch: amd64 - stage: platform-test node_js: "10" os: osx + - stage: platform-test + node_js: "10" + os: linux + arch: arm64 - stage: platform-test node_js: "13" os: linux + arch: amd64 - stage: platform-test node_js: "13" os: osx + - stage: platform-test + node_js: "13" + os: linux + arch: arm64 addons: apt: diff --git a/lib/extensions.js b/lib/extensions.js index 4cb7984ef..67cccdb35 100644 --- a/lib/extensions.js +++ b/lib/extensions.js @@ -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; } } diff --git a/package.json b/package.json index c0f49d449..5fda88b92 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "install": "node scripts/install.js", "postinstall": "node scripts/build.js", "lint": "node_modules/.bin/eslint bin/node-sass lib scripts test", - "test": "node_modules/.bin/mocha test/{*,**/**}.js", + "test": "node_modules/.bin/mocha test/{*,**/**}.js --timeout 5000ms", "build": "node scripts/build.js --force", "prepublish": "not-in-install && node scripts/prepublish.js || in-install" },