Skip to content

Commit efef9fe

Browse files
committed
patch 8.1.1669: Travis: test results section is closed even when failed
Problem: Travis: test results section is closed even when some tests failed. Solution: Only close the section on success. (Daniel Hahler, closes #4659)
1 parent 8ccabf6 commit efef9fe

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,11 @@ script:
142142
"${SRCDIR}"/vim --not-a-term -u NONE -S "${SRCDIR}"/testdir/if_ver-2.vim -c quit > /dev/null
143143
cat if_ver.txt
144144
fi
145-
- do_test make ${SHADOWOPT} ${TEST}
146-
- echo -en "travis_fold:end:test\\r\\033[0K"
145+
- |
146+
if do_test make ${SHADOWOPT} ${TEST}; then
147+
echo -en "travis_fold:end:test\\r\\033[0K"
148+
fi
149+
147150
148151
# instead of a 2*2*8 matrix (2*os + 2*compiler + 8*env),
149152
# exclude some builds on mac os x and linux

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,8 @@ static char *(features[]) =
777777

778778
static int included_patches[] =
779779
{ /* Add new patch number below this line */
780+
/**/
781+
1669,
780782
/**/
781783
1668,
782784
/**/

0 commit comments

Comments
 (0)