Merge pull request #1666 from taosdata/hotfix/fix-incomplete-lcov-output

fix incomplete coverage report of taosd.
This commit is contained in:
slguan 2020-04-20 09:25:11 +08:00 committed by GitHub
commit ea27717b86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -145,6 +145,9 @@ matrix:
exit $?
fi
sudo pkill taosd
sleep 1
cd ${TRAVIS_BUILD_DIR}
lcov -d . --capture --rc lcov_branch_coverage=1 -o coverage.info
lcov -l --rc lcov_branch_coverage=1 coverage.info || exit $?