Skip to content

Commit a6327be

Browse files
committed
Use full git clone in travis.
travis workers may use older git that has no --unshallow option. Increase clone depth to guarantee a full clone.
1 parent 5b541dd commit a6327be

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ matrix:
2020
- os: osx
2121
env: MYUSEMC=false MYPYTHON_VERSION=2.7
2222

23+
git:
24+
depth: 999999
25+
2326
branches:
2427
except:
2528
- /^v[0-9]/
@@ -32,7 +35,7 @@ addons:
3235

3336
before_install:
3437
- umask 022
35-
- git fetch origin --unshallow --tags
38+
- git fetch origin --tags
3639
- if ${MYUSEMC}; then
3740
NOAPT=true; NOMC=false;
3841
else

0 commit comments

Comments
 (0)