]> granicus.if.org Git - vim/commitdiff
patch 8.1.1830: Travis does not report error when tests fail v8.1.1830
authorBram Moolenaar <Bram@vim.org>
Thu, 8 Aug 2019 20:02:35 +0000 (22:02 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 8 Aug 2019 20:02:35 +0000 (22:02 +0200)
Problem:    Travis does not report error when tests fail.
Solution:   Explicitly do "exit 1".

.travis.yml
src/version.c

index cff5c447a050f1625da0a3253b53d05a60c8ac79..085d3c5b3cd7c9e5be380fd00d01907b6194e13a 100644 (file)
@@ -145,6 +145,8 @@ script:
   - |
     if do_test make ${SHADOWOPT} ${TEST}; then
       echo -en "travis_fold:end:test\\r\\033[0K"
+    else
+      exit 1
     fi
 
 
index 4c2a83f7c6a15db6ffd6650c068b262770bb4ac7..3fd1fe122a9982695e2a0d75f33a0265a8ee8e7d 100644 (file)
@@ -769,6 +769,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1830,
 /**/
     1829,
 /**/