Add cache entries to .travis.yml.

This is recommended by the Travis docs to speed up the parts of the
tests where unpack / install has a significant cost, as opposed to the
download.

This changeset adds entries for ~/.m2 (for Maven) and
~/Library/Caches/Homebrew for (brew on macOS).
This commit is contained in:
Ewan Mellor 2017-10-12 09:46:38 -07:00
parent 8778ad65c4
commit 242dbe095d
No known key found for this signature in database
GPG Key ID: 7CE1C6BC9EC8645D
1 changed files with 5 additions and 0 deletions

View File

@ -2,6 +2,11 @@ sudo: true
language: java
cache:
directories:
- $HOME/.m2
- $HOME/Library/Caches/Homebrew
matrix:
include:
- os: linux