Relative coverage path.

This commit is contained in:
Steffen Schuemann 2019-05-21 09:06:44 +02:00
parent fa99351935
commit ca969ab341

View File

@ -87,6 +87,6 @@ after_success:
if [ "${GHC_COVERAGE}" = "1" ]; then
lcov --compat-libtool --directory . --capture --output-file coverage_output.info
lcov --remove coverage_output.info '/usr/*' '*/c++/*' '*.h' '*/catch.hpp' -o coverage.info
sed -i 's|SF:/.*/|SF:|g' coverage.info
sed -i 's|SF:/.*/filesystem/|SF:../|g' coverage.info
coveralls-lcov coverage.info
fi