Skip to content

Commit 557d3f1

Browse files
committed
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.
1 parent 2d74742 commit 557d3f1

File tree

3 files changed

+1
-2
lines changed

3 files changed

+1
-2
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ os: linux
1818
language: minimal
1919
arch: amd64
2020
cache:
21-
ccache: true
2221
directories:
2322
- $TRAVIS_BUILD_DIR/depends/built
2423
- $TRAVIS_BUILD_DIR/depends/sdk-sources

ci/test/00_setup_env_mac_host.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export GOAL="install"
1313
export BITCOIN_CONFIG="--enable-gui --enable-reduce-exports --enable-werror"
1414
export NO_DEPENDS=1
1515
export OSX_SDK=""
16+
export CCACHE_SIZE=300M
1617

1718
export RUN_SECURITY_TESTS="true"
1819
if [ "$TRAVIS_REPO_SLUG" != "bitcoin/bitcoin" ]; then

ci/test/04_install.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ if [[ $QEMU_USER_CMD == qemu-s390* ]]; then
1414
fi
1515

1616
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
17-
export PATH="/usr/local/opt/ccache/libexec:$PATH"
1817
${CI_RETRY_EXE} pip3 install $PIP_PACKAGES
1918
fi
2019

0 commit comments

Comments
 (0)