aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xci/before_script.sh4
1 files changed, 2 insertions, 2 deletions
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.