File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ EXCLUSIONS=("$@")
66
77# Install lcov if required
88LCOV_VERSION=" 1.13"
9- if [[ ! " $( lcov --version || true 2> /dev/null) " =~ " version ${LCOV_VERSION} " ]]; then
9+ if [[ ! " $( lcov --version 2> /dev/null || true ) " =~ " version ${LCOV_VERSION} " ]]; then
1010 LCOV_ROOT=" /tmp/lcov"
1111 LCOV_URL=" http://ftp.de.debian.org/debian/pool/main/l/lcov/lcov_${LCOV_VERSION} .orig.tar.gz"
1212 mkdir " ${LCOV_ROOT} "
@@ -24,14 +24,10 @@ lcov --gcov-tool "${GCOV}" --directory build --capture --output-file coverage.in
2424lcov --remove coverage.info ' /usr/*' " ${HOME} /" ' .cache/*' --output-file coverage.info > /dev/null
2525for excl in " ${EXCLUSIONS[@]} " ; do
2626 lcov --remove coverage.info " ${excl} " --output-file coverage.info > /dev/null
27- done
27+ done
2828
2929# Debug output
3030lcov --list coverage.info
3131
3232# Coverage.io
3333bash <( curl -s https://codecov.io/bash) -f coverage.info || echo " Codecov did not collect coverage reports"
34-
35- # Coveralls
36- gem install coveralls-lcov
37- coveralls-lcov coverage.info
You can’t perform that action at this time.
0 commit comments