Build/Test tools: Switch npm dependency caching strategy on Travis CI for the 4.3 branch.

This switches to caching npm's local cache instead of the compiled modules in `node_modules`. The latter is causing errors on the PHP 5.2 build.

Merges [44989] to the 4.3 branch.
 
See #42385


git-svn-id: https://develop.svn.wordpress.org/branches/4.3@44990 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2019-03-24 23:46:17 +00:00
parent 940117fd65
commit 3cfb855a71

View File

@ -3,7 +3,7 @@ dist: trusty
language: php
cache:
directories:
- node_modules
- $HOME/.npm
- vendor
- $HOME/.composer/cache
matrix: