diff options
author | Daniel Hahler <git@thequod.de> | 2019-07-07 21:09:37 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-07-07 21:09:37 +0200 |
commit | 28a86608a84672b3b64981c3b47b80b051cb5177 (patch) | |
tree | df8120ff0e3f20ad35ae2dc1f1432009dd37464b /ci/script.sh | |
parent | 38342d75f64e0825505bbb6ff6e1a67b12bf3f17 (diff) | |
download | rneovim-28a86608a84672b3b64981c3b47b80b051cb5177.tar.gz rneovim-28a86608a84672b3b64981c3b47b80b051cb5177.tar.bz2 rneovim-28a86608a84672b3b64981c3b47b80b051cb5177.zip |
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.
Diffstat (limited to 'ci/script.sh')
-rwxr-xr-x | ci/script.sh | 6 |
1 files changed, 6 insertions, 0 deletions
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 |