]> granicus.if.org Git - vim/commitdiff
patch 8.1.1976: Travis log always shows test output v8.1.1976
authorBram Moolenaar <Bram@vim.org>
Wed, 4 Sep 2019 12:11:16 +0000 (14:11 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 4 Sep 2019 12:11:16 +0000 (14:11 +0200)
Problem:    Travis log always shows test output.
Solution:   Change script to avoid if/else. (Ozaki Kiichi, closes #4892)

.travis.yml
src/version.c

index 9c184f388e7a1194a7283d42f444c4a408cc4fa5..4625bcf9daa968c4cc589ce0a3452b0086a93d17 100644 (file)
@@ -142,12 +142,8 @@ script:
       "${SRCDIR}"/vim --not-a-term -u NONE -S "${SRCDIR}"/testdir/if_ver-2.vim -c quit > /dev/null
       cat if_ver.txt
     fi
-  - |
-    if do_test make ${SHADOWOPT} ${TEST}; then
-      echo -en "travis_fold:end:test\\r\\033[0K"
-    else
-      exit 1
-    fi
+  - do_test make ${SHADOWOPT} ${TEST} && FOLD_MARKER=travis_fold
+  - echo -en "${FOLD_MARKER}:end:test\\r\\033[0K"
 
 
 # instead of a 2*2*8 matrix (2*os + 2*compiler + 8*env),
index 191e10166c1a334457a026fc58ca4c58cfeb2e21..9286ec8c57d6fbd32f1219e0eef529f3b7db34e9 100644 (file)
@@ -761,6 +761,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1976,
 /**/
     1975,
 /**/