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.
This commit is contained in:
Daniel Hahler
2019-06-14 19:18:19 +02:00
parent 755e94801f
commit 185fc775b9

View File

@@ -20,8 +20,8 @@ if [[ -n "${LLVM_SYMBOLIZER}" ]] && [[ ! $(type -P "${LLVM_SYMBOLIZER}") ]]; the
exit 1 exit 1
fi fi
# Show ccache stats so we can compare in before_cache # Reset ccache stats for real results in before_cache.
ccache -s 2>/dev/null || true ccache --zero-stats
if [[ "${TRAVIS_OS_NAME}" == osx ]]; then if [[ "${TRAVIS_OS_NAME}" == osx ]]; then
# Adds user to a dummy group. # Adds user to a dummy group.