[travis] Optimize ccache

This commit is contained in:
Matthias Kuhn 2017-05-11 08:22:37 +02:00
parent 0cb82587f0
commit 1fb55dbdee
2 changed files with 4 additions and 3 deletions

View File

@ -18,7 +18,8 @@ export PATH=${HOME}/osgeo4travis/bin:${HOME}/osgeo4travis/sbin:${HOME}/OTB-5.6.0
export LD_LIBRARY_PATH=${HOME}/osgeo4travis/lib
export CTEST_PARALLEL_LEVEL=1
export CCACHE_TEMPDIR=/tmp
ccache -M 2G
ccache -M 500M
ccache -z
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

View File

@ -18,8 +18,8 @@ echo $PATH
export PATH=/usr/bin:${PATH}
ccache -s
ccache -M 1G
ccache -M 500M
ccache -z
# Calculate the timeout for the tests.
# The tests should be aborted before travis times out, in order to allow uploading