diff options
-rwxr-xr-x | .ci/before_cache.sh | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/.ci/before_cache.sh b/.ci/before_cache.sh index b5678bc20c..dd1fcf2bf7 100755 --- a/.ci/before_cache.sh +++ b/.ci/before_cache.sh @@ -3,12 +3,6 @@ set -e set -o pipefail -if [[ "${TRAVIS_OS_NAME}" != linux ]]; then - # Caches are only enabled for Travis's Linux container infrastructure, - # but this script is still executed on OS X. - exit -fi - # Don't cache pip's log and selfcheck. rm -rf "${HOME}/.cache/pip/log" rm -f "${HOME}/.cache/pip/selfcheck.json" @@ -16,7 +10,7 @@ rm -f "${HOME}/.cache/pip/selfcheck.json" # Update the third-party dependency cache only if the build was successful. if [[ -f "${SUCCESS_MARKER}" ]]; then rm -rf "${HOME}/.cache/nvim-deps" - mv -T "${DEPS_BUILD_DIR}" "${HOME}/.cache/nvim-deps" + mv "${DEPS_BUILD_DIR}" "${HOME}/.cache/nvim-deps" touch "${CACHE_MARKER}" echo "Updated third-party dependencies (timestamp: $(stat -c '%y' "${CACHE_MARKER}"))." fi |