From d42bbf363e829ab4cf5fb20d8a709d3e6e3fdd2b Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Tue, 2 Jul 2019 07:23:24 +0200 Subject: [PATCH] ci: Travis: do not close fold on failure [skip ci] This makes it easier to inspect the test failure, without having to open two folds (typically), and scrolling around. --- ci/common/suite.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci/common/suite.sh b/ci/common/suite.sh index 8feb642547..4c42f06c60 100644 --- a/ci/common/suite.sh +++ b/ci/common/suite.sh @@ -39,10 +39,11 @@ enter_suite() { exit_suite() { set +x - travis_fold end "${NVIM_TEST_CURRENT_SUITE}" if test $FAILED -ne 0 ; then echo "Suite ${NVIM_TEST_CURRENT_SUITE} failed, summary:" echo "${FAIL_SUMMARY}" + else + travis_fold end "${NVIM_TEST_CURRENT_SUITE}" fi export NVIM_TEST_CURRENT_SUITE="${NVIM_TEST_CURRENT_SUITE%/*}" if test "$1" != "--continue" ; then