From 8d1f044793bd6b1aeb08b8d9715af6318e085b50 Mon Sep 17 00:00:00 2001 From: Thomas Fussell Date: Thu, 20 Apr 2017 00:56:18 -0400 Subject: [PATCH] save lcov remove output and move to root so coveralls-lcov can find source files --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index cdb2b224..fcf35609 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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