travis.yml: cache the clang sanitizer build
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 22 Oct 2019 13:07:40 +0000 (14:07 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Fri, 25 Oct 2019 18:24:21 +0000 (19:24 +0100)
Hopefully we'll see the same benefits as the other builds.

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

index da6a2063fcab04ea117e71798310c0e147c957ca..c43597f1331ceab93ef4006765a5cfe3bfe303b7 100644 (file)
@@ -189,6 +189,7 @@ matrix:
 
     - env:
         - CONFIG="--target-list=${MAIN_SOFTMMU_TARGETS} "
+        - CACHE_NAME="${TRAVIS_BRANCH}-linux-clang-sanitize"
       compiler: clang
       before_script:
         - ./configure ${CONFIG} --extra-cflags="-fsanitize=undefined -Werror" || { cat config.log && exit 1; }