From: Philippe Mathieu-Daudé Date: Tue, 3 Sep 2019 13:26:46 +0000 (+0200) Subject: .travis.yml: Document how the build matrix use caches X-Git-Tag: v4.2.0-rc0~115^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5ef9c53c24467c5b7d0dccc09d28dc7c5a5015ec;p=thirdparty%2Fqemu.git .travis.yml: Document how the build matrix use caches We will set the CACHE_NAME variable to improve the caching of various jobs using the same characteristics. Document it first. See https://docs.travis-ci.com/user/caching/#caches-and-build-matrices Signed-off-by: Philippe Mathieu-Daudé Signed-off-by: Alex Bennée --- diff --git a/.travis.yml b/.travis.yml index 3d1c7f0d7e0..51c7d19c071 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,12 @@ language: c compiler: - gcc cache: + # There is one cache per branch and compiler version. + # characteristics of each job are used to identify the cache: + # - OS name (currently, linux, osx, or windows) + # - OS distribution (for Linux, xenial, trusty, or precise) + # - macOS image name (e.g., xcode7.2) + # - Names and values of visible environment variables set in .travis.yml or Settings panel timeout: 1200 ccache: true pip: true