Via @gitlost in #7: > "(Just on the current ".travis.yml" I think the cache syntax https://github.com/wp-cli/media-command/blob/master/.travis.yml#L16 for caching "$HOME/.composer/.cache" needs to be in a "directories" list like https://github.com/gitlost/media-command/blob/imagick/.travis.yml#L16)." @gitlost I don't think this is correct for either repo: • https://travis-ci.org/wp-cli/media-command/jobs/222084435 • https://travis-ci.org/gitlost/media-command/jobs/222084435 Neither of the above jobs have `Setting up build cache` or `store build cache` sections You can see both these sections in: • https://travis-ci.org/paulgibbs/behat-wordpress-extension/jobs/224696788 Do each of the respective repos have Travis CI cache info here to view or do you see an error? • https://travis-ci.org/wp-cli/media-command/caches • https://travis-ci.org/gitlost/media-command/caches
Activity
ntwb commentedon Apr 23, 2017
The #12 PR fixes this:
•
Setting up build cache-> https://travis-ci.org/wp-cli/media-command/jobs/224810499#L155•
could not download cache-> https://travis-ci.org/wp-cli/media-command/jobs/224810499#L165 <- This is correct as the cache didn't exist previously•
store build cache-> https://travis-ci.org/wp-cli/media-command/jobs/224810499#L361ntwb commentedon Apr 23, 2017
I just submitted PRs for all the things per the above, I think I got all the repos 😂
ntwb commentedon Apr 23, 2017
I've also update the mustache template that generates this in wp-cli/scaffold-command#8
danielbachhuber commentedon Apr 24, 2017
👍 Thanks @ntwb !
Fix Travis CI composer caching
Fix master template for Travis CI composer caching