We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 666af3d commit 07a8053Copy full SHA for 07a8053
.travis.yml
@@ -17,7 +17,8 @@ git:
17
18
before_install:
19
- export -f travis_nanoseconds travis_time_start travis_time_finish
20
- - if ! [ -x ./test ]; then git submodule update --init --recursive $([ $TRAVIS_OS_NAME = windows ] || echo --depth 1) .cppsm; fi
+ - if [[ $(git version) =~ \ 2\.19\. ]]; then GIT_DEPTH=(--no-recommend-shallow); else GIT_DEPTH=(--depth 1); fi
21
+ - if ! [ -x ./test ]; then git submodule update --init --recursive "${GIT_DEPTH[@]}" .cppsm; fi
22
23
script:
24
- if [ -x ./test ]; then ./test; else .cppsm/.cli/travis-ci; fi
0 commit comments