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>
This commit is contained in:

committed by
Emil Velikov

parent
486f28ba88
commit
6431b98c54
@@ -5,8 +5,7 @@ dist: trusty
|
|||||||
|
|
||||||
cache:
|
cache:
|
||||||
apt: true
|
apt: true
|
||||||
directories:
|
ccache: true
|
||||||
- $HOME/.ccache
|
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
@@ -47,7 +46,6 @@ env:
|
|||||||
- BUILD=scons
|
- BUILD=scons
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- export PATH="/usr/lib/ccache:$PATH"
|
|
||||||
- pip install --user mako
|
- pip install --user mako
|
||||||
|
|
||||||
# Since libdrm gets updated in configure.ac regularly, try to pick up the
|
# Since libdrm gets updated in configure.ac regularly, try to pick up the
|
||||||
|
Reference in New Issue
Block a user