diff --git a/.travis.yml b/.travis.yml index 08f5306755..c7c824afc0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -75,10 +75,10 @@ jobs: - stage: second stage os: osx compiler: clang - osx_image: xcode10.1 # macOS 10.13 + osx_image: xcode10.2 # macOS 10.14 - os: osx compiler: gcc - osx_image: xcode10.1 # macOS 10.13 + osx_image: xcode10.2 # macOS 10.14 - os: linux compiler: gcc diff --git a/ci/common/build.sh b/ci/common/build.sh index 7c27d61586..85b141de86 100644 --- a/ci/common/build.sh +++ b/ci/common/build.sh @@ -34,8 +34,8 @@ build_deps() { export CCACHE_RECACHE=1 elif test -f "${CACHE_MARKER}" ; then echo "Using third-party dependencies from Travis cache (last update: $(_stat "${CACHE_MARKER}"))." - cp -r "${HOME}/.cache/nvim-deps"/. "${DEPS_BUILD_DIR}" - cp -r "${HOME}/.cache/nvim-deps-downloads"/. "${DEPS_DOWNLOAD_DIR}" + cp -a "${HOME}/.cache/nvim-deps"/. "${DEPS_BUILD_DIR}" + cp -a "${HOME}/.cache/nvim-deps-downloads"/. "${DEPS_DOWNLOAD_DIR}" fi # Even if we're using cached dependencies, run CMake and make to