aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-06-14 19:18:19 +0200
committerDaniel Hahler <git@thequod.de>2019-06-17 02:00:58 +0200
commit185fc775b91ddbb543c5021ae62ba61376dbde86 (patch)
tree8d6606f2936022b848f6015bdb7762fcbc2200f0
parent755e94801f39faec9e19db86414231d821a77736 (diff)
downloadrneovim-185fc775b91ddbb543c5021ae62ba61376dbde86.tar.gz
rneovim-185fc775b91ddbb543c5021ae62ba61376dbde86.tar.bz2
rneovim-185fc775b91ddbb543c5021ae62ba61376dbde86.zip
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.
-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.