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)
diff --git a/.travis.yml b/.travis.yml
index 7750308..cff5c44 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -142,8 +142,11 @@
"${SRCDIR}"/vim --not-a-term -u NONE -S "${SRCDIR}"/testdir/if_ver-2.vim -c quit > /dev/null
cat if_ver.txt
fi
- - do_test make ${SHADOWOPT} ${TEST}
- - echo -en "travis_fold:end:test\\r\\033[0K"
+ - |
+ if do_test make ${SHADOWOPT} ${TEST}; then
+ echo -en "travis_fold:end:test\\r\\033[0K"
+ fi
+
# instead of a 2*2*8 matrix (2*os + 2*compiler + 8*env),
# exclude some builds on mac os x and linux
diff --git a/src/version.c b/src/version.c
index a2137cc..ec0f7a0 100644
--- a/src/version.c
+++ b/src/version.c
@@ -778,6 +778,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1669,
+/**/
1668,
/**/
1667,