summaryrefslogtreecommitdiff
path: root/.travis
diff options
context:
space:
mode:
Diffstat (limited to '.travis')
-rwxr-xr-x.travis/report-coverage.sh9
1 files changed, 3 insertions, 6 deletions
diff --git a/.travis/report-coverage.sh b/.travis/report-coverage.sh
index 6c83719..dbbefa9 100755
--- a/.travis/report-coverage.sh
+++ b/.travis/report-coverage.sh
@@ -1,18 +1,15 @@
#!/usr/bin/env bash
-echo "Reporting coverage to Coveralls.io ..."
-echo "travis_fold:start:report-coverage"
-
set -e
+echo "Reporting coverage to Coveralls.io ..."
+
while read FILENAME; do
LCOV_INPUT_FILES="$LCOV_INPUT_FILES -a \"$FILENAME\""
done < <( find Coverage -name *.clean )
-lcov "${LCOV_INPUT_FILES}" -o Coverage/coverage.info
+eval lcov "${LCOV_INPUT_FILES}" -o Coverage/coverage.info
sed -i'' -e "s_$(cd .. && pwd)/__g" Coverage/coverage.info
cd ..
coveralls-lcov --repo-token ${COVERALLS_API_TOKEN} build/Coverage/coverage.info
-
-echo "travis_fold:end:report-coverage"