Skip to content

Commit 7eaddd4

Browse files
committed
Remove coveralls-lcov call and fix output of lcov
1 parent 31ce1bc commit 7eaddd4

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

tools/ci/uploadCoverageData.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ EXCLUSIONS=("$@")
66

77
# Install lcov if required
88
LCOV_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
2424
lcov --remove coverage.info '/usr/*' "${HOME}/"'.cache/*' --output-file coverage.info > /dev/null
2525
for excl in "${EXCLUSIONS[@]}"; do
2626
lcov --remove coverage.info "${excl}" --output-file coverage.info > /dev/null
27-
done
27+
done
2828

2929
# Debug output
3030
lcov --list coverage.info
3131

3232
# Coverage.io
3333
bash <(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

0 commit comments

Comments
 (0)