Merge pull request #2221 from taosdata/feature/sangshuduo/exclude-deps-tests-in-coverage
add plugins to exclude path too.
This commit is contained in:
commit
cb99510d94
|
@ -49,7 +49,7 @@ matrix:
|
|||
pip3 install --user ${TRAVIS_BUILD_DIR}/src/connector/python/linux/python3/
|
||||
|
||||
cd ${TRAVIS_BUILD_DIR}/tests
|
||||
./test-all.sh $TRAVIS_EVENT_TYPE || travis_terminate $?
|
||||
./test-all.sh smoke || travis_terminate $?
|
||||
|
||||
cd ${TRAVIS_BUILD_DIR}/tests/pytest
|
||||
./valgrind-test.sh 2>&1 > mem-error-out.log
|
||||
|
@ -169,7 +169,7 @@ matrix:
|
|||
|
||||
cd ${TRAVIS_BUILD_DIR}/tests
|
||||
|
||||
./test-all.sh $TRAVIS_EVENT_TYPE COVER
|
||||
./test-all.sh smoke COVER
|
||||
|
||||
TEST_RESULT=$?
|
||||
|
||||
|
@ -178,7 +178,7 @@ matrix:
|
|||
|
||||
cd ${TRAVIS_BUILD_DIR}
|
||||
lcov -d . --capture --rc lcov_branch_coverage=1 -o coverage.info
|
||||
lcov --remove coverage.info '*/tests/*' '*/test/*' '*/deps/*' -o coverage.info
|
||||
lcov --remove coverage.info '*/tests/*' '*/test/*' '*/deps/*' '*/plugins/*' -o coverage.info
|
||||
lcov -l --rc lcov_branch_coverage=1 coverage.info || travis_terminate $?
|
||||
|
||||
gem install coveralls-lcov
|
||||
|
|
Loading…
Reference in New Issue