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
This commit is contained in:
Dominik Schilling (ocean90) 2017-03-09 21:08:09 +00:00
parent 38f5797e3c
commit 7ba64e2288
1 changed files with 3 additions and 1 deletions

View File

@ -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