Skip to content

Commit 43ab248

Browse files
committed
Upgraded .cppsm and .travis.yml
1 parent 68627a0 commit 43ab248

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.cppsm

Submodule .cppsm updated 1 file

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ git:
1717

1818
before_install:
1919
- 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)
20+
- if [ "$TRAVIS_OS_NAME" = windows ]; then choco upgrade -y git.install; fi
2121

2222
script:
23-
- if ! [ -x .cppsm/travis-ci ]; then git submodule --quiet update --init --no-recommend-shallow $GIT_DEPTH .cppsm; fi
23+
- if ! [ -x .cppsm/travis-ci ]; then git submodule --quiet update --init --no-recommend-shallow --depth 1 .cppsm; fi
2424
- .cppsm/travis-ci

0 commit comments

Comments
 (0)