ci: Do not activate Travis ccache caching strategy

It is sufficient to specify CCACHE_DIR to cache.
Also this change fixes ccache on native macOS build.
This commit is contained in:
Hennadii Stepanov 2020-07-13 23:51:29 +03:00
parent 2d747428e2
commit 557d3f1cc0
No known key found for this signature in database
GPG Key ID: 410108112E7EA81F
3 changed files with 1 additions and 2 deletions

View File

@ -18,7 +18,6 @@ os: linux
language: minimal
arch: amd64
cache:
ccache: true
directories:
- $TRAVIS_BUILD_DIR/depends/built
- $TRAVIS_BUILD_DIR/depends/sdk-sources

View File

@ -13,6 +13,7 @@ export GOAL="install"
export BITCOIN_CONFIG="--enable-gui --enable-reduce-exports --enable-werror"
export NO_DEPENDS=1
export OSX_SDK=""
export CCACHE_SIZE=300M
export RUN_SECURITY_TESTS="true"
if [ "$TRAVIS_REPO_SLUG" != "bitcoin/bitcoin" ]; then

View File

@ -14,7 +14,6 @@ if [[ $QEMU_USER_CMD == qemu-s390* ]]; then
fi
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
export PATH="/usr/local/opt/ccache/libexec:$PATH"
${CI_RETRY_EXE} pip3 install $PIP_PACKAGES
fi