Commit 749e5280 by bruce-one Committed by Kewde

Node 12: ci integration

parent 4f5b9963
...@@ -19,6 +19,14 @@ matrix: ...@@ -19,6 +19,14 @@ matrix:
include: include:
# Linux # Linux
- os: 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 compiler: clang
env: NODE_VERSION="11" env: NODE_VERSION="11"
addons: addons:
...@@ -85,6 +93,9 @@ matrix: ...@@ -85,6 +93,9 @@ matrix:
# OS X # OS X
- os: osx - os: osx
compiler: clang compiler: clang
env: NODE_VERSION="12" # node abi 67
- os: osx
compiler: clang
env: NODE_VERSION="11" # node abi 67 env: NODE_VERSION="11" # node abi 67
- os: osx - os: osx
compiler: clang compiler: clang
......
...@@ -34,6 +34,10 @@ environment: ...@@ -34,6 +34,10 @@ environment:
platform: x64 platform: x64
- nodejs_version: 11 - nodejs_version: 11
platform: x86 platform: x86
- nodejs_version: 12
platform: x64
- nodejs_version: 12
platform: x86
# electron # electron
- nodejs_version: 10 - nodejs_version: 10
platform: x64 platform: x64
......
...@@ -32,8 +32,7 @@ ECHO using MSBuild^: && CALL msbuild /version && ECHO. ...@@ -32,8 +32,7 @@ ECHO using MSBuild^: && CALL msbuild /version && ECHO.
IF %ERRORLEVEL% NEQ 0 GOTO ERROR IF %ERRORLEVEL% NEQ 0 GOTO ERROR
ECHO downloading/installing node ECHO downloading/installing node
IF /I "%platform%"=="x64" powershell Install-Product node $env:nodejs_version x64 powershell Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) $env:PLATFORM
IF /I "%platform%"=="x86" powershell Install-Product node $env:nodejs_version x86
IF %ERRORLEVEL% NEQ 0 GOTO ERROR IF %ERRORLEVEL% NEQ 0 GOTO ERROR
powershell Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force powershell Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force
......
...@@ -15,7 +15,7 @@ nvm unload || true ...@@ -15,7 +15,7 @@ nvm unload || true
rm -rf ./__nvm/ && git clone --depth 1 https://github.com/creationix/nvm.git ./__nvm rm -rf ./__nvm/ && git clone --depth 1 https://github.com/creationix/nvm.git ./__nvm
source ./__nvm/nvm.sh source ./__nvm/nvm.sh
nvm install ${NODE_VERSION} nvm install ${NODE_VERSION}
nvm use ${NODE_VERSION} nvm use --delete-prefix ${NODE_VERSION}
node --version node --version
npm --version npm --version
which node which node
\ No newline at end of file
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