Update npm on Travis CI as a part of build

Travis has an outdated version of NPM.  While this is currently only generating a warning, in the future it could cause actual errors.

Fixes #30823



git-svn-id: https://develop.svn.wordpress.org/trunk@30988 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Aaron Jorbin 2014-12-22 23:46:46 +00:00
parent 876ce714fc
commit 86db4d88fe

View File

@ -31,6 +31,7 @@ before_install:
svn checkout https://plugins.svn.wordpress.org/wordpress-importer/trunk tests/phpunit/data/plugins/wordpress-importer svn checkout https://plugins.svn.wordpress.org/wordpress-importer/trunk tests/phpunit/data/plugins/wordpress-importer
fi fi
before_script: before_script:
- npm install -g npm
- npm install -g grunt-cli - npm install -g grunt-cli
- npm install - npm install
script: grunt $WP_TRAVISCI script: grunt $WP_TRAVISCI