diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-07-12 18:45:40 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-07-12 18:45:40 +0200 |
commit | efef9fea7227e259e1ec073ab7dbfb5670711d74 (patch) | |
tree | 09e314aa43b41f81a874cd3086206b34c558acde /.travis.yml | |
parent | 8ccabf624ef4eb7ebe3e4d52449bc0bc545810f2 (diff) | |
download | vim-git-efef9fea7227e259e1ec073ab7dbfb5670711d74.tar.gz |
patch 8.1.1669: Travis: test results section is closed even when failedv8.1.1669
Problem: Travis: test results section is closed even when some tests
failed.
Solution: Only close the section on success. (Daniel Hahler, closes #4659)
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 77503084b..cff5c447a 100644 --- 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 |