Mercurial > vim
changeset 17340:ce962e2644bf v8.1.1669
patch 8.1.1669: Travis: test results section is closed even when failed
commit https://github.com/vim/vim/commit/efef9fea7227e259e1ec073ab7dbfb5670711d74
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jul 12 18:45:40 2019 +0200
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 12 Jul 2019 19:00:07 +0200 |
parents | b8c348aabb60 |
children | 634627bf5c95 |
files | .travis.yml src/version.c |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/.travis.yml +++ b/.travis.yml @@ -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