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>
diff --git a/.travis.yml b/.travis.yml
index 061aed1..f34b762 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,8 +5,7 @@
cache:
apt: true
- directories:
- - $HOME/.ccache
+ ccache: true
addons:
apt:
@@ -47,7 +46,6 @@
- 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