]> git.proxmox.com Git - mirror_qemu.git/commitdiff
.travis.yml: Cache Linux/Clang jobs together
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 3 Sep 2019 13:26:49 +0000 (15:26 +0200)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 10 Sep 2019 13:14:32 +0000 (14:14 +0100)
These jobs build different components but use the same
host features. Put them in the same cache bucket.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
.travis.yml

index 74f10d352fe267b0b7b1f17f2a10d1ca94bee8c6..1ff262057956e3b290c2af8a6b55ce4a833dcde9 100644 (file)
@@ -173,11 +173,13 @@ matrix:
     # Test with Clang for compile portability (Travis uses clang-5.0)
     - env:
         - CONFIG="--disable-system"
+        - CACHE_NAME="${TRAVIS_BRANCH}-linux-clang-default"
       compiler: clang
 
 
     - env:
         - CONFIG="--disable-user --target-list=${MAIN_SOFTMMU_TARGETS}"
+        - CACHE_NAME="${TRAVIS_BRANCH}-linux-clang-default"
       compiler: clang
 
 
@@ -190,6 +192,7 @@ matrix:
 
     - env:
         - CONFIG="--disable-user --target-list-exclude=${MAIN_SOFTMMU_TARGETS}"
+        - CACHE_NAME="${TRAVIS_BRANCH}-linux-clang-default"
       compiler: clang