Mesa (master): travis: automatically manage ccache caching

Emil Velikov evelikov at kemper.freedesktop.org
Sat Apr 29 13:40:24 UTC 2017


Module: Mesa
Branch: master
Commit: 6431b98c54ea2dc0c0f716b5f4a19af45a3b67f3
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6431b98c54ea2dc0c0f716b5f4a19af45a3b67f3

Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Thu Apr  6 14:02:38 2017 +0100

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 at collabora.com>
Reviewed-by: Andres Gomez <agomez at igalia.com>

---

 .travis.yml | 4 +---
 1 file changed, 1 insertion(+), 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




More information about the mesa-commit mailing list