[Mesa-dev] [PATCH 05/13] travis: automatically manage ccache caching

Emil Velikov emil.l.velikov at gmail.com
Fri Apr 7 19:05:38 UTC 2017


From: Emil Velikov <emil.velikov at collabora.com>

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

diff --git a/.travis.yml b/.travis.yml
index 9c8234ac88e..144b14fd82e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,8 +5,7 @@ dist: trusty
 
 cache:
   apt: true
-  directories:
-    - $HOME/.ccache
+  ccache: true
 
 addons:
   apt:
@@ -48,7 +47,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
-- 
2.11.1



More information about the mesa-dev mailing list