Travis: fix gcov (#1930)
codecov-bash runs it by default already, therefore we do not not have to do so manually before do_codecov_gcov. And with `do_codecov` itself, it gets disabled using `-X gcov`.
This commit is contained in:
parent
d33d7d71d7
commit
cb10a3fe45
|
@ -116,7 +116,7 @@ install:
|
||||||
if [ "$DO_COVERAGE" = "codecov" ]; then
|
if [ "$DO_COVERAGE" = "codecov" ]; then
|
||||||
test -f build/luacov.stats.out || { echo 'build/luacov.stats.out does not exist.'; return 1; }
|
test -f build/luacov.stats.out || { echo 'build/luacov.stats.out does not exist.'; return 1; }
|
||||||
luacov || return 1
|
luacov || return 1
|
||||||
travis_retry bash /tmp/codecov-bash -X coveragepy -c -F "$1" || return 1
|
travis_retry bash /tmp/codecov-bash -X gcov -X coveragepy -c -F "$1" || return 1
|
||||||
rm build/luacov.stats.out
|
rm build/luacov.stats.out
|
||||||
fi
|
fi
|
||||||
return 0
|
return 0
|
||||||
|
@ -197,7 +197,6 @@ script:
|
||||||
do_codecov unittests
|
do_codecov unittests
|
||||||
tests/run.sh
|
tests/run.sh
|
||||||
do_codecov functionaltests
|
do_codecov functionaltests
|
||||||
gcov $(find -name '*.o')
|
|
||||||
do_codecov_gcov c_code
|
do_codecov_gcov c_code
|
||||||
|
|
||||||
travis_fold_end
|
travis_fold_end
|
||||||
|
|
Loading…
Reference in New Issue