]> granicus.if.org Git - vim/commitdiff
patch 8.1.1163: codecov does not report all the coverage information v8.1.1163
authorBram Moolenaar <Bram@vim.org>
Sat, 13 Apr 2019 11:44:31 +0000 (13:44 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 13 Apr 2019 11:44:31 +0000 (13:44 +0200)
Problem:    Codecov does not report all the coverage information.
Solution:   Make a second run with the nested execution output, expect that
            Codecov will merge the results.

.travis.yml
src/version.c

index d683b13ef3bca8d26a08bf39d83763b1c4a09757..240de516e7fe66b764214a99c051922690d48610 100644 (file)
@@ -170,6 +170,9 @@ after_success:
   - |
     if [[ "${COVERAGE}" = "yes" ]]; then
       (cd "${SRCDIR}" && bash <(curl -s https://codecov.io/bash))
+      # Also do this for nested executions, codecov will merge the results.
+      mv "${SRCDIR}"/testdir/nested/* "${SRCDIR}"/objects
+      (cd "${SRCDIR}" && bash <(curl -s https://codecov.io/bash))
     fi
 
 # vim:set sts=2 sw=2 tw=0 et:
index 88180a127f9997008bf1ccfd6788ea9f6483c4d5..94f13393e76e88cc50bc24dc4d15b126b0eee24f 100644 (file)
@@ -771,6 +771,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1163,
 /**/
     1162,
 /**/