add branch coverage support.

This commit is contained in:
Shuduo Sang 2020-04-18 17:10:52 +08:00
parent 35c656f91b
commit d0ce500a90
1 changed files with 2 additions and 2 deletions

View File

@ -146,8 +146,8 @@ matrix:
fi
cd ${TRAVIS_BUILD_DIR}
lcov -d . --capture -o coverage.info
lcov -l coverage.info || exit $?
lcov -d . --capture --rc lcov_branch_coverage=1 -o coverage.info
lcov -l --rc lcov_branch_coverage=1 coverage.info || exit $?
gem install coveralls-lcov