Skip to content

Commit f8c00e7

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 06de973 commit f8c00e7

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
@@ -17,6 +17,9 @@ matrix:
1717
- os: osx
1818
env: MYUSEMC=false
1919

20+
git:
21+
depth: 999999
22+
2023
branches:
2124
except:
2225
- /^v[0-9]/
@@ -31,7 +34,7 @@ addons:
3134

3235
before_install:
3336
- umask 022
34-
- git fetch origin --unshallow --tags
37+
- git fetch origin --tags
3538
- if ${MYUSEMC}; then
3639
NOAPT=true; NOMC=false;
3740
else

0 commit comments

Comments
 (0)