Skip to content

Commit

Permalink
[travis] Optimize ccache
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed May 11, 2017
1 parent 0cb8258 commit 1fb55db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .ci/travis/linux/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 )"

Expand Down
4 changes: 2 additions & 2 deletions .ci/travis/macos/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1fb55db

Please sign in to comment.