提交 db83fdd0 编写于 作者: S Shuduo Sang

exclude deps and tests directories from coverage report.

[TD-491]
上级 c97e4f14
...@@ -176,7 +176,8 @@ matrix: ...@@ -176,7 +176,8 @@ matrix:
sleep 1 sleep 1
cd ${TRAVIS_BUILD_DIR} cd ${TRAVIS_BUILD_DIR}
lcov -d . --capture --rc lcov_branch_coverage=1 -o coverage.info lcov -d . --capture --rc lcov_branch_coverage=1 -o coverage.info \
--exclude "*tests*" --exclude "*deps*"
lcov -l --rc lcov_branch_coverage=1 coverage.info || travis_terminate $? lcov -l --rc lcov_branch_coverage=1 coverage.info || travis_terminate $?
gem install coveralls-lcov gem install coveralls-lcov
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册