Skip to content

Commit acf3d62

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 aae2f1a commit acf3d62

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.travis.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ matrix:
1919
- os: osx
2020
env: MYUSEMC=false
2121

22+
git:
23+
depth: 999999
24+
2225
branches:
2326
except:
2427
- /^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)