aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2016-04-26 01:17:46 -0400
committerCory Fields <cory-nospam-@coryfields.com>2016-04-26 02:25:22 -0400
commit174023c9b008fc02316bce972b0c1031de3feee3 (patch)
tree7700c81075c6dec398fe766a325985f89983e0bc /.travis.yml
parentcf77fcdb1fe525b63b004ef729173f04bdb48882 (diff)
downloadbitcoin-174023c9b008fc02316bce972b0c1031de3feee3.tar.xz
travis: Don't disable writing ccache for pull-requests
This was doing more harm than good. The original intention was to speed up builds, since a PR's ccache results will be thrown away anyway. However, each PR maintains its own cache, so disabling writes means that subsequent pushes don't benefit from the fresh cache. This is significant when (for example) many headers are touched in a PR, then the PR is updated. With this change, the updated PR will take advantage of the cache generated during the PR's previous build.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml1
1 files changed, 0 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 804686a34a..25e9cc1e05 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -71,7 +71,6 @@ script:
- OUTDIR=$BASE_OUTDIR/$TRAVIS_PULL_REQUEST/$TRAVIS_JOB_NUMBER-$HOST
- BITCOIN_CONFIG_ALL="--disable-dependency-tracking --prefix=$TRAVIS_BUILD_DIR/depends/$HOST --bindir=$OUTDIR/bin --libdir=$OUTDIR/lib"
- depends/$HOST/native/bin/ccache --max-size=$CCACHE_SIZE
- - if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then export CCACHE_READONLY=1; fi
- test -n "$USE_SHELL" && eval '"$USE_SHELL" -c "./autogen.sh"' || ./autogen.sh
- ./configure --cache-file=config.cache $BITCOIN_CONFIG_ALL $BITCOIN_CONFIG || ( cat config.log && false)
- make distdir PACKAGE=bitcoin VERSION=$HOST