aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Walch <florian@fwalch.com>2016-07-05 02:51:34 +0200
committerJustin M. Keyes <justinkz@gmail.com>2016-07-04 20:51:34 -0400
commitbd6dad06dd1f4182cc65c41575af8bf1e3ea22a9 (patch)
tree4d57dbd38770c834b22bb0241d91b4fb753378c4
parenta5358688bc91b2d72bf4eddea7938003d1fcde93 (diff)
downloadrneovim-bd6dad06dd1f4182cc65c41575af8bf1e3ea22a9.tar.gz
rneovim-bd6dad06dd1f4182cc65c41575af8bf1e3ea22a9.tar.bz2
rneovim-bd6dad06dd1f4182cc65c41575af8bf1e3ea22a9.zip
Travis: Enable before_cache script for MacOS. (#5007)
Travis now seems to support caching on MacOS.
-rwxr-xr-x.ci/before_cache.sh8
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