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

Commit e84c6a9

Browse files
authoredOct 23, 2019
Merge pull request #2766 from saper/node-modules-79
Node 13 support
2 parents 8d0acca + 64b6f32 commit e84c6a9

File tree

4 files changed

+24
-3
lines changed

4 files changed

+24
-3
lines changed
 

‎.travis.yml

+16-3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ jobs:
1616
- stage: platform-test
1717
node_js: "node"
1818
os: osx
19+
- stage: platform-test
20+
node_js: "12"
21+
os: linux
22+
- stage: platform-test
23+
node_js: "12"
24+
os: osx
1925
- stage: platform-test
2026
node_js: "11"
2127
os: linux
@@ -74,12 +80,19 @@ addons:
7480
- g++-4.7
7581
- gcc-4.9
7682
- g++-4.9
83+
- gcc-6
84+
- g++-6
7785

7886
before_install:
7987
- echo $TRAVIS_NODE_VERSION
8088
- npm config set python `which python`
8189
- if [ $TRAVIS_OS_NAME == "linux" ]; then
82-
if [[ $(node -v) =~ v[1-9][0-9] ]]; then
90+
if [[ $(node -v) =~ v13 ]]; then
91+
export CC="gcc-6";
92+
export CXX="g++-6";
93+
export LINK="gcc-6";
94+
export LINKXX="g++-6";
95+
elif [[ $(node -v) =~ v[1-9][0-9] ]]; then
8396
export CC="gcc-4.9";
8497
export CXX="g++-4.9";
8598
export LINK="gcc-4.9";
@@ -94,8 +107,8 @@ before_install:
94107
- nvm --version
95108
- node --version
96109
- npm --version
97-
- gcc --version
98-
- g++ --version
110+
- ${CC:-gcc} --version
111+
- ${CXX:-g++} --version
99112

100113
install:
101114
- npm install

‎README.md

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
NodeJS | Minimum node-sass version | Node Module
66
--------|--------------------------|------------
7+
Node 13 | (not yet release) | 79
78
Node 12 | 4.12+ | 72
89
Node 11 | 4.10+ | 67
910
Node 10 | 4.9+ | 64

‎appveyor.yml

+6
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@
7676
- nodejs_version: 12
7777
GYP_MSVS_VERSION: 2017
7878
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
79+
- nodejs_version: 13
80+
GYP_MSVS_VERSION: 2017
81+
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
7982

8083
install:
8184
# https://www.appveyor.com/docs/lang/nodejs-iojs/#installing-any-version-of-nodejs-or-iojs
@@ -173,6 +176,9 @@
173176
- nodejs_version: 12
174177
GYP_MSVS_VERSION: 2017
175178
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
179+
- nodejs_version: 13
180+
GYP_MSVS_VERSION: 2017
181+
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
176182

177183
install:
178184
# https://www.appveyor.com/docs/lang/nodejs-iojs/#installing-any-version-of-nodejs-or-iojs

‎lib/extensions.js

+1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ function getHumanNodeVersion(abi) {
7878
case 64: return 'Node.js 10.x';
7979
case 67: return 'Node.js 11.x';
8080
case 72: return 'Node.js 12.x';
81+
case 79: return 'Node.js 13.x';
8182
default: return false;
8283
}
8384
}

0 commit comments

Comments
 (0)
This repository has been archived.