summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2017-11-01 16:47:00 +0000
committerSimon McVittie <smcv@collabora.com>2017-11-01 16:47:00 +0000
commitda4bc242486df24f5c34153476f49a03c1e8aac1 (patch)
tree538f035295bf70a6a7655b3b0665e1bb47d18f35
parente6cb3b881d212b72a1221de8c3767cfc8e5c7a5e (diff)
travis-ci: Use ccache, and cache pip installations too
Signed-off-by: Simon McVittie <smcv@collabora.com>
-rw-r--r--.travis.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 9739c48..3a37b42 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -23,12 +23,17 @@
sudo: required
dist: trusty
language: python
+cache:
+ pip: true
+ directories:
+ - $HOME/.ccache
install:
- 'sudo apt-get -qq -y update'
- >
sudo apt-get -qq -y install
autoconf
automake
+ ccache
dbus
gnome-desktop-testing
libdbus-1-dev
@@ -62,7 +67,7 @@ python:
- "3.6-dev"
- "nightly"
script:
- - ./tools/ci-build.sh
+ - PATH="/usr/lib/ccache:$PATH" ./tools/ci-build.sh
matrix:
include: