try to clean up coverage and fix coveralls->github link

This commit is contained in:
2017-04-20 00:31:29 -04:00
parent 40ba1012b3
commit c45d1e63e7

View File

@ -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