mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
save lcov remove output and move to root so coveralls-lcov can find source files
This commit is contained in:
parent
c45d1e63e7
commit
8d1f044793
|
@ -35,8 +35,9 @@ after_success:
|
|||
- |
|
||||
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 --remove coverage.info source/detail/miniz.cpp
|
||||
lcov --output-file coverage.info --remove coverage.info source/detail/miniz.cpp
|
||||
i=$(dirname $(pwd))
|
||||
sed -i "s|$i/||" coverage.info
|
||||
coveralls-lcov coverage.info
|
||||
cd ..
|
||||
coveralls-lcov build/coverage.info
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user