diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2016-12-25 15:01:45 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2016-12-25 15:01:45 +0100 |
| commit | dbe47d8722d994996549e8a27df427caa812b4b5 (patch) | |
| tree | 1a2c537a8df7d560c2fc92a1fcac2615dfb092ff /.travis | |
| parent | 58de22cc5701a5821dad74cbab8abc646484a43e (diff) | |
| download | extfs-dbe47d8722d994996549e8a27df427caa812b4b5.tar.xz extfs-dbe47d8722d994996549e8a27df427caa812b4b5.zip | |
travis: Fix coverage report aggregation
Diffstat (limited to '.travis')
| -rwxr-xr-x | .travis/report-coverage.sh | 9 |
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" |
