We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e0d7ff commit 0fee97eCopy full SHA for 0fee97e
2 files changed
test .cppsm/travis-citest renamed to .cppsm/travis-ci
@@ -2,6 +2,7 @@
2
3
export PATH="$PWD/bin:$PATH"
4
5
+# shellcheck source=../commands/.settings
6
. commands/.settings
7
8
mkdir self-test && cd "$_"
.travis.yml
@@ -17,8 +17,7 @@ git:
17
18
before_install:
19
- export -f travis_nanoseconds travis_time_start travis_time_finish
20
- - 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
+ - if ! [ -x .cppsm/travis-ci ]; then git submodule --quiet update --init --no-recommend-shallow --depth 1 .cppsm; fi
+ - .cppsm/travis-ci
0 commit comments