Build/Test tools: Switch npm dependency caching strategy on Travis CI.

This switches to caching npm's local cache instead of `node_modules` in order to prevent issues caused by modules compiled using a different version of node.

Merges [44993] into the 4.0 branch.

See #46632


git-svn-id: https://develop.svn.wordpress.org/branches/4.0@45003 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2019-03-25 00:59:36 +00:00
parent 33e6bdde15
commit 239c1aaa46
1 changed files with 1 additions and 1 deletions

View File

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