Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'ls/travis-scriptify' into next
author
Junio C Hamano
<gitster@pobox.com>
Sun, 24 Sep 2017 10:39:37 +0000
(19:39 +0900)
committer
Junio C Hamano
<gitster@pobox.com>
Sun, 24 Sep 2017 10:39:37 +0000
(19:39 +0900)
The scripts to drive TravisCI has been reorganized and then an
optimization to avoid spending cycles on a branch whose tip is
tagged has been implemented.
* ls/travis-scriptify:
travis-ci: fix "skip_branch_tip_with_tag()" string comparison
ci/lib-travisci.sh
patch
|
blob
|
history
raw
(from parent 1:
a81423d
)
diff --git
a/ci/lib-travisci.sh
b/ci/lib-travisci.sh
index 9c4ae9bdd0aa57027304425948dc32009a518f96..b3ed0a0ddac4261307a31a99f3cd18fb7aabc4fc 100755
(executable)
--- a/
ci/lib-travisci.sh
+++ b/
ci/lib-travisci.sh
@@
-14,7
+14,7
@@
skip_branch_tip_with_tag () {
# of a tag.
if TAG=$(git describe --exact-match "$TRAVIS_BRANCH" 2>/dev/null) &&
- $TAG != $TRAVIS_BRANCH
+ test "$TAG" != "$TRAVIS_BRANCH"
then
echo "Tip of $TRAVIS_BRANCH is exactly at $TAG"
exit 0