Skip to content
Open
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
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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"request": "^2.88.0",
"sass-graph": "2.2.5",
"stdout-stream": "^1.4.0",
"true-case-path": "^1.0.2"
"true-case-path": "^2.2.1"
},
"devDependencies": {
"eslint": "^7.10.0",
Expand Down