diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2017-01-18 09:50:48 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-18 09:50:48 +0000 |
commit | 370988cb63afbc81b661ffcd733b9951b2f6b677 (patch) | |
tree | b23406ce0fd159d95628476f57e6a087990495f2 | |
parent | 1d025d3e39a22f5d61e2c136ce508ec23dad9c81 (diff) | |
parent | 730eb551fb9320575115cb26ae4219b50e0a3184 (diff) |
Merge pull request #982 from dcbaker/wip/ccache-travis
travis: Add ccache
-rw-r--r-- | .travis.yml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 84b48561..e8e025fc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,11 @@ language: python # Cache pip objects to speed up next build -cache: pip +cache: + pip: True + directories: + - $HOME/.ccache + # We need a newer version of zlib to build notmuch from source as is available # in precise. @@ -41,6 +45,9 @@ addons: before_install: | set -e if [[ $JOB = tests ]]; then + # Build with ccache to speed up rebuilds. + export PATH=/usr/lib/ccache:$PATH + # Clone the notmuch repository and move into it. git clone git://notmuchmail.org/git/notmuch cd notmuch |