Skip to content

Commit 1fb55db

Browse files
committedMay 11, 2017
[travis] Optimize ccache
1 parent 0cb8258 commit 1fb55db

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed
 

‎.ci/travis/linux/script.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ export PATH=${HOME}/osgeo4travis/bin:${HOME}/osgeo4travis/sbin:${HOME}/OTB-5.6.0
1818
export LD_LIBRARY_PATH=${HOME}/osgeo4travis/lib
1919
export CTEST_PARALLEL_LEVEL=1
2020
export CCACHE_TEMPDIR=/tmp
21-
ccache -M 2G
21+
ccache -M 500M
22+
ccache -z
2223

2324
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
2425

‎.ci/travis/macos/script.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ echo $PATH
1818

1919
export PATH=/usr/bin:${PATH}
2020

21-
ccache -s
22-
ccache -M 1G
21+
ccache -M 500M
22+
ccache -z
2323

2424
# Calculate the timeout for the tests.
2525
# The tests should be aborted before travis times out, in order to allow uploading

0 commit comments

Comments
 (0)
Please sign in to comment.