mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
try to clean up coverage and fix coveralls->github link
This commit is contained in:
parent
40ba1012b3
commit
c45d1e63e7
|
@ -35,5 +35,8 @@ after_success:
|
||||||
- |
|
- |
|
||||||
if [[ "${COVERAGE}" == "ON" ]]; then
|
if [[ "${COVERAGE}" == "ON" ]]; then
|
||||||
lcov --directory source/CMakeFiles/xlnt.dir --capture --output-file coverage.info --base-directory ../source --no-external --gcov-tool /usr/bin/gcov-6
|
lcov --directory source/CMakeFiles/xlnt.dir --capture --output-file coverage.info --base-directory ../source --no-external --gcov-tool /usr/bin/gcov-6
|
||||||
|
lcov --remove coverage.info source/detail/miniz.cpp
|
||||||
|
i=$(dirname $(pwd))
|
||||||
|
sed -i "s|$i/||" coverage.info
|
||||||
coveralls-lcov coverage.info
|
coveralls-lcov coverage.info
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user