Skip to content

Commit 749e528

Browse files
bruce-onekewde
authored andcommitted
Node 12: ci integration
1 parent 4f5b996 commit 749e528

File tree

4 files changed

+18
-4
lines changed

4 files changed

+18
-4
lines changed

.travis.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ addons:
1818
matrix:
1919
include:
2020
# Linux
21+
- os: linux
22+
dist: xenial
23+
compiler: clang
24+
env: NODE_VERSION="12"
25+
addons:
26+
apt:
27+
sources: [ 'ubuntu-toolchain-r-test','llvm-toolchain-precise-3.5', 'gcc-multilib', 'g++-multilib', 'libsqlite3-dev:i386' ]
28+
packages: [ 'clang-3.5', 'libstdc++-4.9-dev']
2129
- os: linux
2230
compiler: clang
2331
env: NODE_VERSION="11"
@@ -83,6 +91,9 @@ matrix:
8391
sources: [ 'ubuntu-toolchain-r-test','llvm-toolchain-precise-3.5', 'gcc-multilib', 'g++-multilib', 'libsqlite3-dev:i386' ]
8492
packages: [ 'clang-3.5','libsqlite3-dev']
8593
# OS X
94+
- os: osx
95+
compiler: clang
96+
env: NODE_VERSION="12" # node abi 67
8697
- os: osx
8798
compiler: clang
8899
env: NODE_VERSION="11" # node abi 67

appveyor.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ environment:
3434
platform: x64
3535
- nodejs_version: 11
3636
platform: x86
37+
- nodejs_version: 12
38+
platform: x64
39+
- nodejs_version: 12
40+
platform: x86
3741
# electron
3842
- nodejs_version: 10
3943
platform: x64

scripts/build-appveyor.bat

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ ECHO using MSBuild^: && CALL msbuild /version && ECHO.
3232
IF %ERRORLEVEL% NEQ 0 GOTO ERROR
3333

3434
ECHO downloading/installing node
35-
IF /I "%platform%"=="x64" powershell Install-Product node $env:nodejs_version x64
36-
IF /I "%platform%"=="x86" powershell Install-Product node $env:nodejs_version x86
35+
powershell Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) $env:PLATFORM
3736
IF %ERRORLEVEL% NEQ 0 GOTO ERROR
3837

3938
powershell Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force

scripts/install_node.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ nvm unload || true
1515
rm -rf ./__nvm/ && git clone --depth 1 https://github.com/creationix/nvm.git ./__nvm
1616
source ./__nvm/nvm.sh
1717
nvm install ${NODE_VERSION}
18-
nvm use ${NODE_VERSION}
18+
nvm use --delete-prefix ${NODE_VERSION}
1919
node --version
2020
npm --version
21-
which node
21+
which node

0 commit comments

Comments
 (0)