summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-04-06 14:02:38 +0100
committerEmil Velikov <[email protected]>2017-04-30 09:46:31 +0100
commit135615caa07f3ac1a7154b91e7efc887e5cdc863 (patch)
tree72095d7cdac3be76b1a451090fc55567efd07ddc
parent2acd78cfab83fbc97e1bb238f05f7269685f6c3e (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 <[email protected]> Reviewed-by: Andres Gomez <[email protected]> (cherry picked from commit 6431b98c54ea2dc0c0f716b5f4a19af45a3b67f3)
-rw-r--r--.travis.yml4
1 files changed, 1 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 061aed1bc7c..f34b762a4e5 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