travis: silence gcov output and errors flooding build log

Also added ignore paths from `codecov.yml` to the command, because
codecov-bash doesn't pull those from there. Currently its `parse_yaml`
function simply ignores arrays, so they don't even check for "ignore".
4678d212cc/codecov (L834)

(cherry picked from commit d09fdd78a9)
This commit is contained in:
Mickey Rose 2019-08-14 13:36:44 +02:00
parent 931dc8921c
commit 699b3c11d9

View file

@ -88,5 +88,15 @@ configure () {
} }
coverage () { coverage () {
./codecov -x "${LLVM_COV:-llvm-cov} gcov" -Z ./codecov -Z \
-g "./benchmark/**" \
-g "./demo/**" \
-g "./deps/**" \
-g "./docs/**" \
-g "./fonts/**" \
-g "./mason_packages/**" \
-g "./.sconf_temp/**" \
-g "./scons/**" \
-g "./test/**" \
-x "${LLVM_COV:-llvm-cov} gcov >/dev/null 2>&1"
} }