travis: Reduce ccache size
authorManuel Nickschas <sputnick@quassel-irc.org>
Mon, 24 Sep 2018 19:26:35 +0000 (21:26 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 18 Nov 2018 10:06:43 +0000 (11:06 +0100)
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.

.travis.yml

index ec65a2d..553eb16 100644 (file)
@@ -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