add */test/* to exclude path

This commit is contained in:
Shuduo Sang 2020-06-08 16:11:00 +08:00
parent 414f9653c0
commit b70a71196e
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ matrix:
cd ${TRAVIS_BUILD_DIR}
lcov -d . --capture --rc lcov_branch_coverage=1 -o coverage.info
lcov --remove coverage.info '*tests*' '*deps*' -o coverage.info
lcov --remove coverage.info '*/tests/*' '*/test/*' '*/deps/*' -o coverage.info
lcov -l --rc lcov_branch_coverage=1 coverage.info || travis_terminate $?
gem install coveralls-lcov