From 185fc775b91ddbb543c5021ae62ba61376dbde86 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Fri, 14 Jun 2019 19:18:19 +0200 Subject: ci: Travis: ccache: use --zero-stats This makes it display actual results in before_cache then, and it seems like it is not necessary to keep stats across builds. --- ci/before_script.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ci/before_script.sh') diff --git a/ci/before_script.sh b/ci/before_script.sh index 49b4e068b5..ae20eef1fc 100755 --- a/ci/before_script.sh +++ b/ci/before_script.sh @@ -20,8 +20,8 @@ if [[ -n "${LLVM_SYMBOLIZER}" ]] && [[ ! $(type -P "${LLVM_SYMBOLIZER}") ]]; the exit 1 fi -# Show ccache stats so we can compare in before_cache -ccache -s 2>/dev/null || true +# Reset ccache stats for real results in before_cache. +ccache --zero-stats if [[ "${TRAVIS_OS_NAME}" == osx ]]; then # Adds user to a dummy group. -- cgit