From 28a86608a84672b3b64981c3b47b80b051cb5177 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sun, 7 Jul 2019 21:09:37 +0200 Subject: CI: improve gcov handling #10404 - Move __gcov_flush to process_spawn, for more reliable coverage tracking of subprocesses - Travis: use GCOV_ERROR_FILE - codecov: use "-X fix" to skip "fixing" uploaded coverage data; it should be handled by codecov's backend instead. - AppVeyor: no $PATH mangling, which breaks with the improved coverage tracking due to missing .dll in PATH. --- ci/script.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ci/script.sh') diff --git a/ci/script.sh b/ci/script.sh index a59c40cd2d..c8025ce34d 100755 --- a/ci/script.sh +++ b/ci/script.sh @@ -11,3 +11,9 @@ if [[ "${TRAVIS_OS_NAME}" == osx ]]; then else ci/run_${CI_TARGET}.sh fi + +if [[ -s "${GCOV_ERROR_FILE}" ]]; then + echo '=== Unexpected gcov errors: ===' + cat "${GCOV_ERROR_FILE}" + exit 1 +fi -- cgit