.travis.yml: Cache Linux/Clang jobs together

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>
This commit is contained in:
Philippe Mathieu-Daudé 2019-09-03 15:26:49 +02:00 committed by Alex Bennée
parent 7d183c548e
commit e2bef01108

View File

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