Set NodeJS 8 as a required toolset

This commit is contained in:
Nate McMaster 2018-01-25 11:25:37 -08:00 committed by Nate McMaster
parent 04dfc5cc6b
commit 354905dc00
3 changed files with 11 additions and 6 deletions

View File

@ -1,7 +1,7 @@
init: init:
- git config --global core.autocrlf true - git config --global core.autocrlf true
install: install:
- ps: Install-Product node 8.4.0 x64 - ps: Install-Product node 8 x64
branches: branches:
only: only:
- master - master

View File

@ -5,6 +5,7 @@ env:
global: global:
- DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true - DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
- DOTNET_CLI_TELEMETRY_OPTOUT: 1 - DOTNET_CLI_TELEMETRY_OPTOUT: 1
- TRAVIS_NODE_VERSION: 8.9.3
addons: addons:
apt: apt:
packages: packages:
@ -13,16 +14,14 @@ mono: none
os: os:
- linux - linux
- osx - osx
osx_image: xcode8.2 osx_image: xcode9.2
branches: branches:
only: only:
- master
- release
- dev - dev
- /^rel\/.*$/
- /^release\/.*$/ - /^release\/.*$/
- /^(.*\/)?ci-.*$/ - /^(.*\/)?ci-.*$/
before_install: before_install:
- nvm install $TRAVIS_NODE_VERSION
- if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install openssl; ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/; ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/; fi - if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install openssl; ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/; ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/; fi
script: script:
- ./build.sh - ./build.sh

View File

@ -1,4 +1,10 @@
{ {
"$schema": "https://raw.githubusercontent.com/aspnet/BuildTools/dev/tools/korebuild.schema.json", "$schema": "https://raw.githubusercontent.com/aspnet/BuildTools/dev/tools/korebuild.schema.json",
"channel": "dev" "channel": "dev",
"toolsets": {
"nodejs": {
"required": true,
"minVersion": "8.0"
}
}
} }