From d09fdd78a90c342185794486fe72655b4f2338cf Mon Sep 17 00:00:00 2001 From: Mickey Rose Date: Wed, 14 Aug 2019 13:36:44 +0200 Subject: [PATCH] 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". https://github.com/codecov/codecov-bash/blob/4678d212cce2078bbaaf5027af0c0dafaad6a095/codecov#L834 --- scripts/travis-common.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/scripts/travis-common.sh b/scripts/travis-common.sh index 1e610a028..8eaa23b5b 100644 --- a/scripts/travis-common.sh +++ b/scripts/travis-common.sh @@ -87,7 +87,17 @@ configure () { } coverage () { - ./codecov -x "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 gcov >/dev/null 2>&1" } trigger_downstream() {