From 7ba64e2288217752a94b80d977472afbb776ec6e Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Thu, 9 Mar 2017 21:08:09 +0000 Subject: [PATCH] Build/Test Tools: On Travis CI install and use the node version which is specified in package.json. Props netweb. See #35105. git-svn-id: https://develop.svn.wordpress.org/trunk@40258 602fd350-edb4-49c9-b593-d223f7449a82 --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 115ed0a257..0bf3c676ef 100644 --- a/.travis.yml +++ b/.travis.yml @@ -59,7 +59,9 @@ before_script: elif [[ ${TRAVIS_PHP_VERSION:0:3} != "5.2" ]]; then composer global require "phpunit/phpunit=4.8.*" fi -- npm install -g npm +- npm --version +- node --version +- nvm install 6.9.1 - npm install -g grunt-cli - npm install - npm prune