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: http://develop.svn.wordpress.org/trunk@30988 602fd350-edb4-49c9-b593-d223f7449a82