Build/Test Tools: Add Composer files to the cache on Travis.

The Travis cache is specific to the branch and language version (PHP version), so this should speed up each subsequent build once the cache is primed.

Props netweb

Fixes #40539


git-svn-id: https://develop.svn.wordpress.org/trunk@40538 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2017-04-23 11:39:43 +00:00
parent 1345e33a21
commit 06391f0872
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,8 @@ cache:
apt: true
directories:
- node_modules
- vendor
- $HOME/.composer/cache
env:
global:
- WP_TRAVISCI=travis:phpunit