diff options
author | Daniel Hahler <git@thequod.de> | 2019-07-30 23:21:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-30 23:21:12 +0200 |
commit | 208f56d3b928c473122ce47c8c7a17e0729a26ea (patch) | |
tree | dbcd6b5b0e0c6180744b3c70b1132e0da7969e65 /ci/before_script.sh | |
parent | 6e01ed6a4c859ff915b42422622f1ba3cc80efd5 (diff) | |
download | rneovim-208f56d3b928c473122ce47c8c7a17e0729a26ea.tar.gz rneovim-208f56d3b928c473122ce47c8c7a17e0729a26ea.tar.bz2 rneovim-208f56d3b928c473122ce47c8c7a17e0729a26ea.zip |
ci: Travis: improve/revisit caching (#10358)
- use CACHE_NVIM_DEPS_DIR
- do not cache pip
This is handled through http caches in general/better, and it is not
used much anyway.
- do not cache DEPS_DOWNLOAD_DIR
Built deps are cached, downloads are not needed then.
- display ccache stats before clearing
- do not cache ccache stats
- improve output of `du` (do not list pages of output for "/home/travis/.cache/go-build")
Diffstat (limited to 'ci/before_script.sh')
-rwxr-xr-x | ci/before_script.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ci/before_script.sh b/ci/before_script.sh index ae20eef1fc..605ecdbf66 100755 --- a/ci/before_script.sh +++ b/ci/before_script.sh @@ -20,6 +20,8 @@ if [[ -n "${LLVM_SYMBOLIZER}" ]] && [[ ! $(type -P "${LLVM_SYMBOLIZER}") ]]; the exit 1 fi +echo "before_script.sh: ccache stats (will be cleared)" +ccache -s # Reset ccache stats for real results in before_cache. ccache --zero-stats |