From: Manuel Nickschas Date: Mon, 24 Sep 2018 19:26:35 +0000 (+0200) Subject: travis: Reduce ccache size X-Git-Tag: test-travis-01~118 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=05d41a48f8bd614a03bb9ff6d22072e5a7af52b6 travis: Reduce ccache size Reduce the ccache size in order to not waste too much time packing/ extracting the cache. Since we're only building one project, 1G should be plenty. --- diff --git a/.travis.yml b/.travis.yml index ec65a2d3..553eb16c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,6 +35,7 @@ script: -v "$(readlink -f build):/build" \ -v "$(readlink -f ccache):/ccache" \ -e CCACHE_DIR=/ccache \ + -e CCACHE_MAXSIZE=1G \ -e CXX=$CXX \ quassel/quassel-build-env:$DIST \ sh -c "cmake /src $CMAKE_OPTIONS \ @@ -60,6 +61,7 @@ jobs: before_install: - brew update && brew install ccache ninja qca qt5 script: + - export CCACHE_MAXSIZE=1G - mkdir build && cd build - | PATH=$PATH:/usr/local/opt/qt5/bin