From 31d42d87c647a98889eb85391b2d8e8eb01e7e0c Mon Sep 17 00:00:00 2001 From: Ward Bell Date: Thu, 2 Feb 2017 16:22:39 -0800 Subject: [PATCH] ci: bump node version to 6.9.5 and npm to 3.10.7 this is required by @angular/cli --- .nvmrc | 2 +- .travis.yml | 3 ++- circle.yml | 4 ++-- gulpfile.js | 4 ++-- scripts/ci-lite/env.sh | 4 ++-- 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.nvmrc b/.nvmrc index 826f5ce030e08..e1e5d1369adba 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -6.6.0 +6.9.5 diff --git a/.travis.yml b/.travis.yml index 49a3ef9efb80b..e149edc4cfa30 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,8 @@ language: node_js sudo: false node_js: - - '6.6.0' + - '6.9.5' + git: # Increased from default (50) to ensure last release tag is in this range depth: 150 diff --git a/circle.yml b/circle.yml index dd768ea88d0c3..8d59e52e1d758 100644 --- a/circle.yml +++ b/circle.yml @@ -1,10 +1,10 @@ machine: node: - version: 6.6.0 + version: 6.9.5 dependencies: pre: - - npm install -g npm@3.5.3 + - npm install -g npm@3.10.7 test: override: diff --git a/gulpfile.js b/gulpfile.js index 0517a0c14a30e..49673150594a6 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -11,8 +11,8 @@ // THIS CHECK SHOULD BE THE FIRST THING IN THIS FILE // This is to ensure that we catch env issues before we error while requiring other dependencies. require('./tools/check-environment')({ - requiredNpmVersion: '>=3.5.3 <4.0.0', - requiredNodeVersion: '>=5.4.1 <7.0.0', + requiredNpmVersion: '>=3.10.7 <4.0.0', + requiredNodeVersion: '>=6.9.5 <7.0.0', }); const gulp = require('gulp'); diff --git a/scripts/ci-lite/env.sh b/scripts/ci-lite/env.sh index 787fb651f5fc2..13514afb7acfe 100644 --- a/scripts/ci-lite/env.sh +++ b/scripts/ci-lite/env.sh @@ -4,8 +4,8 @@ set -e -o pipefail echo 'travis_fold:start:ENV' -NODE_VERSION=5.4.1 -NPM_VERSION=3.5.3 +NODE_VERSION=6.9.5 +NPM_VERSION=3.10.7 # do not upgrade to >3.10.8 unless https://github.com/npm/npm/issues/14042 is resolved YARN_VERSION=0.19.1 CHROMIUM_VERSION=403382 # Chrome 53 linux stable, see https://www.chromium.org/developers/calendar SAUCE_CONNECT_VERSION=4.3.11