travis: enable apt cache

Provides a small, but consistent improvement.
Example numbers of the jobs added later in the series.

"make loaders/classic DRI" - 1s
"scons SWR" - 6s

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Andres Gomez <agomez@igalia.com>
(cherry picked from commit 486f28ba88)
This commit is contained in:
Emil Velikov 2017-04-06 16:36:59 +01:00 committed by Andres Gomez
parent 715f3aceba
commit 5d02d9a1f3

View file

@ -4,6 +4,7 @@ sudo: false
dist: trusty
cache:
apt: true
directories:
- $HOME/.ccache