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 68627a0 commit 43ab248Copy full SHA for 43ab248
.cppsm
.travis.yml
@@ -17,8 +17,8 @@ git:
17
18
before_install:
19
- export -f travis_nanoseconds travis_time_start travis_time_finish
20
- - export GIT_DEPTH=$(if [ 002021000 -le $(git --version | sed -e 's#^[^0-9]*\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*$#00\1.00\2.00\3#g' -e 's#[0-9]*\([0-9]\{3\}\)\.*#\1#g') ]; then echo '--depth 1'; fi)
+ - if [ "$TRAVIS_OS_NAME" = windows ]; then choco upgrade -y git.install; fi
21
22
script:
23
- - if ! [ -x .cppsm/travis-ci ]; then git submodule --quiet update --init --no-recommend-shallow $GIT_DEPTH .cppsm; fi
+ - if ! [ -x .cppsm/travis-ci ]; then git submodule --quiet update --init --no-recommend-shallow --depth 1 .cppsm; fi
24
- .cppsm/travis-ci
0 commit comments