Commit 749e5280 by bruce-one Committed by Kewde

Node 12: ci integration

parent 4f5b9963
......@@ -19,6 +19,14 @@ matrix:
include:
# Linux
- os: linux
dist: xenial
compiler: clang
env: NODE_VERSION="12"
addons:
apt:
sources: [ 'ubuntu-toolchain-r-test','llvm-toolchain-precise-3.5', 'gcc-multilib', 'g++-multilib', 'libsqlite3-dev:i386' ]
packages: [ 'clang-3.5', 'libstdc++-4.9-dev']
- os: linux
compiler: clang
env: NODE_VERSION="11"
addons:
......@@ -85,6 +93,9 @@ matrix:
# OS X
- os: osx
compiler: clang
env: NODE_VERSION="12" # node abi 67
- os: osx
compiler: clang
env: NODE_VERSION="11" # node abi 67
- os: osx
compiler: clang
......
......@@ -34,6 +34,10 @@ environment:
platform: x64
- nodejs_version: 11
platform: x86
- nodejs_version: 12
platform: x64
- nodejs_version: 12
platform: x86
# electron
- nodejs_version: 10
platform: x64
......
......@@ -32,8 +32,7 @@ ECHO using MSBuild^: && CALL msbuild /version && ECHO.
IF %ERRORLEVEL% NEQ 0 GOTO ERROR
ECHO downloading/installing node
IF /I "%platform%"=="x64" powershell Install-Product node $env:nodejs_version x64
IF /I "%platform%"=="x86" powershell Install-Product node $env:nodejs_version x86
powershell Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) $env:PLATFORM
IF %ERRORLEVEL% NEQ 0 GOTO ERROR
powershell Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force
......
......@@ -15,7 +15,7 @@ nvm unload || true
rm -rf ./__nvm/ && git clone --depth 1 https://github.com/creationix/nvm.git ./__nvm
source ./__nvm/nvm.sh
nvm install ${NODE_VERSION}
nvm use ${NODE_VERSION}
nvm use --delete-prefix ${NODE_VERSION}
node --version
npm --version
which node
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment