From: Philippe Mathieu-Daudé <philmd@redhat.com>
Date: Tue, 3 Sep 2019 13:26:43 +0000 (+0200)
Subject: .travis.yml: Cache Avocado cache
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c1073e44b4;p=qemu.git

.travis.yml: Cache Avocado cache

Avocado tests download artifacts from various sources.
These sources sometime have network issues resulting in build
failures. Cache Avocado cache to reduce build failure.

See https://docs.travis-ci.com/user/caching/#arbitrary-directories

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

diff --git a/.travis.yml b/.travis.yml
index 0e3c2b0021..097a844d68 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,6 +9,8 @@ cache:
   timeout: 1200
   ccache: true
   pip: true
+  directories:
+  - $HOME/avocado/data/cache
 
 
 addons: