Skip to content

Commit

Permalink
save lcov remove output and move to root so coveralls-lcov can find s…
Browse files Browse the repository at this point in the history
…ource files
  • Loading branch information
tfussell committed Apr 20, 2017
1 parent c45d1e6 commit 8d1f044
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8d1f044

Please sign in to comment.