aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2018-02-10 09:19:26 -0500
committerMarcoFalke <falke.marco@gmail.com>2018-02-15 17:06:50 -0500
commitfa44af5cd2152a21da9ef3e48c073a668bf2df27 (patch)
treee5aeb0becdd0a9a634c81d99dba908e225b416ca /.travis.yml
parent67447ba06057b8e83f962c82491d2fe6c5211f50 (diff)
downloadbitcoin-fa44af5cd2152a21da9ef3e48c073a668bf2df27.tar.xz
travis: Full clone for git subtree check
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 0332a0e204..9fd163f284 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,6 +7,8 @@ cache:
- depends/built
- depends/sdk-sources
- $HOME/.ccache
+git:
+ depth: false # full clone for git subtree check, this works around issue #12388
env:
global:
- MAKEJOBS=-j3
@@ -62,7 +64,6 @@ before_script:
- if [ "$NEED_XVFB" = 1 ]; then export DISPLAY=:99.0; /sbin/start-stop-daemon --start --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac; fi
script:
- if [ "$CHECK_DOC" = 1 -a "$TRAVIS_REPO_SLUG" = "bitcoin/bitcoin" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then while read LINE; do travis_retry gpg --keyserver hkp://subset.pool.sks-keyservers.net --recv-keys $LINE; done < contrib/verify-commits/trusted-keys; fi
- - if [ "$CHECK_DOC" = 1 -a "$TRAVIS_REPO_SLUG" = "bitcoin/bitcoin" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then git fetch --unshallow; fi
- if [ "$CHECK_DOC" = 1 -a "$TRAVIS_REPO_SLUG" = "bitcoin/bitcoin" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then contrib/verify-commits/verify-commits.sh; fi
- export TRAVIS_COMMIT_LOG=`git log --format=fuller -1`
- if [ -n "$USE_SHELL" ]; then export CONFIG_SHELL="$USE_SHELL"; fi