Skip to content

Commit

Permalink
Merge pull request #1 from krishvoor/master
Browse files Browse the repository at this point in the history
Add support for ppc64le architecture
  • Loading branch information
krishvoor authored Aug 19, 2021
2 parents fca5257 + dc708ab commit 9a752aa
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 0 deletions.
62 changes: 62 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
language: node_js
arch: ppc64le
dist: bionic
compiler: gcc

env:
global:
- SKIP_SASS_BINARY_DOWNLOAD_FOR_CI=true

jobs:
include:
- stage: test
node_js: "16"
os: linux
before_script: npm run lint || exit 1;
after_success: npm run-script coverage;
- stage: platform-test
node_js: "15"
os: linux
- stage: platform-test
node_js: "14"
os: linux
- stage: platform-test
node_js: "12"
os: linux

addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-6
- g++-6

before_install:
- echo $TRAVIS_NODE_VERSION
- npm config set python `which python`
- if [ $TRAVIS_OS_NAME == "linux" ]; then
if [[ $(node -v) =~ v1[234] ]]; then
export CC="gcc-6";
export CXX="g++-6";
export LINK="gcc-6";
export LINKXX="g++-6";
fi
fi
- nvm --version
- node --version
- npm --version
- ${CC:-gcc} --version
- ${CXX:-g++} --version

install:
- npm install --unsafe-perm

script:
- npm test

cache:
directories:
- $HOME/.node-gyp
- $HOME/.npm
- node_modules
1 change: 1 addition & 0 deletions lib/extensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ function getHumanArchitecture(arch) {
case 'ia32': return '32-bit';
case 'x86': return '32-bit';
case 'x64': return '64-bit';
case 'ppc64':return '64-bit';
default: return false;
}
}
Expand Down

0 comments on commit 9a752aa

Please sign in to comment.