fix incomplete coverage report of taosd.

This commit is contained in:
Shuduo Sang 2020-04-20 00:25:13 +08:00
parent 4aec7e1223
commit 65f30a57c7
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 $?