Skip to content

Commit 00710ea

Browse files
committed
Travis CI: Turn on branch coverage in lcov
1 parent 9b4ce71 commit 00710ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ script:
625625

626626
after_success:
627627
- if [[ "$REPORT_COVERAGE" == true ]]; then
628-
lcov --capture --directory src --directory tests --output-file coverage.info &&
628+
lcov --capture --directory src --directory tests --rc lcov_branch_coverage=1 --output-file coverage.info &&
629629
lcov --remove coverage.info 'tests/*' --output-file coverage.info &&
630630
lcov --list coverage.info &&
631631
coveralls-lcov --repo-token=${COVERALLS_REPO_TOKEN} --branch=${TRAVIS_BRANCH} --verbose coverage.info;

0 commit comments

Comments
 (0)