Skip to content

Commit fa79016

Browse files
author
MarcoFalke
committed
travis: Clone depth 1 unless $CHECK_DOC
1 parent d42a4fe commit fa79016

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ cache:
99
- depends/sdk-sources
1010
- $HOME/.ccache
1111
git:
12-
depth: false # full clone for git subtree check, this works around issue #12388
12+
depth: 1
1313
env:
1414
global:
1515
- MAKEJOBS=-j3
@@ -48,6 +48,7 @@ install:
4848
- if [ -n "$PACKAGES" ]; then travis_retry sudo apt-get install --no-install-recommends --no-upgrade -qq $PACKAGES; fi
4949
- if [ "$CHECK_DOC" = 1 -a "$TRAVIS_EVENT_TYPE" = "pull_request" ]; then travis_retry pip3 install flake8 --user; fi
5050
before_script:
51+
- if [ "$CHECK_DOC" = 1 ]; then git fetch --unshallow; fi
5152
- if [ "$CHECK_DOC" = 1 -a "$TRAVIS_EVENT_TYPE" = "pull_request" ]; then contrib/devtools/commit-script-check.sh $TRAVIS_COMMIT_RANGE; fi
5253
- if [ "$CHECK_DOC" = 1 ]; then contrib/devtools/git-subtree-check.sh src/crypto/ctaes; fi
5354
- if [ "$CHECK_DOC" = 1 ]; then contrib/devtools/git-subtree-check.sh src/secp256k1; fi

0 commit comments

Comments
 (0)