Merge pull request #2105 from taosdata/feature/sangshuduo/exclude-deps-tests-in-coverage

Feature/sangshuduo/exclude deps tests in coverage
This commit is contained in:
Shengliang Guan 2020-06-01 18:39:11 +08:00 committed by GitHub
commit 3c0c4087f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -177,6 +177,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 -l --rc lcov_branch_coverage=1 coverage.info || travis_terminate $?
gem install coveralls-lcov