[Qemu-devel] [PATCH v2 09/21] travis: enable multiple caching features

Philippe Mathieu-Daudé posted 21 patches 8 years, 4 months ago
There is a newer version of this series
[Qemu-devel] [PATCH v2 09/21] travis: enable multiple caching features
Posted by Philippe Mathieu-Daudé 8 years, 4 months ago
(this eases git workflow)

see https://docs.travis-ci.com/user/caching#enabling-multiple-caching-features

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
 .travis.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 61394b4764..be28e0642c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,7 +4,8 @@ python:
   - "2.4"
 compiler:
   - gcc
-cache: ccache
+cache:
+  ccache: true
 addons:
   apt:
     packages:
-- 
2.11.0


Re: [Qemu-devel] [PATCH v2 09/21] travis: enable multiple caching features
Posted by Alex Bennée 8 years, 4 months ago
Philippe Mathieu-Daudé <f4bug@amsat.org> writes:

> (this eases git workflow)
>
> see
> https://docs.travis-ci.com/user/caching#enabling-multiple-caching-features

I wonder if we could replace our submodule pre-seed hack with a native
Travis version? And now I see you do that in a later patch ;-)

>
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>

> ---
>  .travis.yml | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/.travis.yml b/.travis.yml
> index 61394b4764..be28e0642c 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -4,7 +4,8 @@ python:
>    - "2.4"
>  compiler:
>    - gcc
> -cache: ccache
> +cache:
> +  ccache: true
>  addons:
>    apt:
>      packages:


--
Alex Bennée