diff options
author | Emil Velikov <emil.velikov@collabora.com> | 2017-04-06 14:02:38 +0100 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2017-04-29 13:35:17 +0100 |
commit | 6431b98c54ea2dc0c0f716b5f4a19af45a3b67f3 (patch) | |
tree | 2325f89c43d26175fbac257268dd0d86fc254dc4 /.travis.yml | |
parent | 486f28ba88259cc70ee59ad67b2b4277b0da0ce4 (diff) |
travis: automatically manage ccache caching
According to the manual
"If you are using ccache, use:
language: c # or other C/C++ variants
cache: ccache
to cache $HOME/.ccache and automatically add /usr/lib/ccache to your
$PATH."
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Andres Gomez <agomez@igalia.com>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 061aed1bc7..f34b762a4e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,8 +5,7 @@ dist: trusty cache: apt: true - directories: - - $HOME/.ccache + ccache: true addons: apt: @@ -47,7 +46,6 @@ env: - BUILD=scons install: - - export PATH="/usr/lib/ccache:$PATH" - pip install --user mako # Since libdrm gets updated in configure.ac regularly, try to pick up the |