1
0
mirror of https://github.com/qgis/QGIS.git synced 2025-04-29 00:03:59 -04:00

[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
.ci/travis

@ -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 LD_LIBRARY_PATH=${HOME}/osgeo4travis/lib
export CTEST_PARALLEL_LEVEL=1 export CTEST_PARALLEL_LEVEL=1
export CCACHE_TEMPDIR=/tmp export CCACHE_TEMPDIR=/tmp
ccache -M 2G ccache -M 500M
ccache -z
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

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