]> granicus.if.org Git - vim/commitdiff
patch 8.1.1669: Travis: test results section is closed even when failed v8.1.1669
authorBram Moolenaar <Bram@vim.org>
Fri, 12 Jul 2019 16:45:40 +0000 (18:45 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 12 Jul 2019 16:45:40 +0000 (18:45 +0200)
Problem:    Travis: test results section is closed even when some tests
            failed.
Solution:   Only close the section on success. (Daniel Hahler, closes #4659)

.travis.yml
src/version.c

index 77503084b08522480af9e8f9f07339b68ce168b4..cff5c447a050f1625da0a3253b53d05a60c8ac79 100644 (file)
@@ -142,8 +142,11 @@ script:
       "${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
index a2137ccae3c4c534b2108eef13e29806398fdba6..ec0f7a029e177f3c65b9e86946e92e54c2ca7191 100644 (file)
@@ -777,6 +777,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1669,
 /**/
     1668,
 /**/