Skip to content

Commit f6f9248

Browse files
author
MarcoFalke
committed
Merge #16214: travis: Fix caching issues
88884c6 travis: Use absolute paths for cache dirs (MarcoFalke) fae9d54 travis: Fix caching issues (MarcoFalke) Pull request description: It appears that the travis caching infrastructure changed under us without any notice. I believe we can no longer use relative paths as cache paths, unless: * we go back to the root travis build dir before the caching step, or * we specify absolute paths for caching Apply both fixes here. Thanks to **promag** for helping me debug this: bitcoin/bitcoin#16148 (comment) ACKs for commit 88884c: Empact: ACK bitcoin/bitcoin@88884c6 Tree-SHA512: 04f2987aade4e8bb016862ba81aea4bb90573a0bf0d2e51b0411c6e3687ee8ec3b639627c0950f51bc8ae4bbf5e0799672c9a81dfb03f01eb5b08791ba857a4a
2 parents 7524376 + 88884c6 commit f6f9248

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ language: minimal
3131
cache:
3232
ccache: true
3333
directories:
34-
- depends/built
35-
- depends/sdk-sources
34+
- $TRAVIS_BUILD_DIR/depends/built
35+
- $TRAVIS_BUILD_DIR/depends/sdk-sources
3636
- $HOME/.ccache
3737
stages:
3838
- lint

.travis/test_06_script_b.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,5 @@ if [ "$RUN_FUZZ_TESTS" = "true" ]; then
2525
DOCKER_EXEC test/fuzz/test_runner.py -l DEBUG ${DIR_FUZZ_IN}
2626
END_FOLD
2727
fi
28+
29+
cd ${TRAVIS_BUILD_DIR} || (echo "could not enter travis build dir $TRAVIS_BUILD_DIR"; exit 1)

0 commit comments

Comments
 (0)