summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@redhat.com>2018-01-31 10:33:54 +0100
committerDaiki Ueno <ueno@gnu.org>2018-01-31 15:51:28 +0100
commitbb2b064c9921e7bdcd7335ed3001a5e19512d3e1 (patch)
tree0c88c0fafdf60eed0d9e4094f4563e38deb9d01a
parent3a88f2ed573a5bb04d2397c626f6bcf3b1a814da (diff)
travis: Exclude generated files from coverage
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 1ce56b9..dab8c2c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -47,4 +47,4 @@ after_failure:
- docker exec $CONTAINER su - user sh -c "cd $BUILDDIR && cat test-suite.log"
after_success:
- - if test x"$COVERAGE" = xyes; then docker exec $CONTAINER pip install cpp-coveralls; docker exec -e TRAVIS_JOB_ID="$TRAVIS_JOB_ID" -e TRAVIS_BRANCH="$TRAVIS_BRANCH" $CONTAINER sh -c "cd $BUILDDIR && coveralls -b $BUILDDIR -E '(^|.*/)(frob|mock|test)-.*' --gcov-options '\-lp'"; fi
+ - if test x"$COVERAGE" = xyes; then docker exec $CONTAINER pip install cpp-coveralls; docker exec -e TRAVIS_JOB_ID="$TRAVIS_JOB_ID" -e TRAVIS_BRANCH="$TRAVIS_BRANCH" $CONTAINER sh -c "cd $BUILDDIR && coveralls -b $BUILDDIR -E '(^|.*/)(frob|mock|test)-.*|(^|.*/)(virtual-fixed\.c|print-messages\.c)' --gcov-options '\-lp'"; fi