aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/ci/travis/after_success.sh
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-10-04 22:48:56 +0200
committerSimon Warta <[email protected]>2015-10-04 23:12:15 +0200
commit2a3886be88aa694f9c6bc8df54e2ac9a276ddb4e (patch)
tree6281a16ff51dc9cb8767355ae2abfcbd651deaec /src/scripts/ci/travis/after_success.sh
parent856ad952e0668e231e0936c73a2df254c1241f34 (diff)
Integrate codecov
Closes #225, #280
Diffstat (limited to 'src/scripts/ci/travis/after_success.sh')
-rwxr-xr-xsrc/scripts/ci/travis/after_success.sh11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/scripts/ci/travis/after_success.sh b/src/scripts/ci/travis/after_success.sh
index 5cd01b39a..178586b6d 100755
--- a/src/scripts/ci/travis/after_success.sh
+++ b/src/scripts/ci/travis/after_success.sh
@@ -3,11 +3,10 @@ set -ev
which shellcheck > /dev/null && shellcheck "$0" # Run shellcheck on this if available
if [ "$BUILD_MODE" = "coverage" ]; then
- GCOV="/usr/bin/gcov-4.8"
- /tmp/usr/bin/lcov --gcov-tool "$GCOV" --directory . --capture --output-file coverage.info
- /tmp/usr/bin/lcov --gcov-tool "$GCOV" --remove coverage.info 'tests/*' '/usr/*' --output-file coverage.info
- /tmp/usr/bin/lcov --gcov-tool "$GCOV" --list coverage.info
+ GCOV="/usr/bin/gcov-4.8"
+ /tmp/usr/bin/lcov --gcov-tool "$GCOV" --directory . --capture --output-file coverage.info
+ /tmp/usr/bin/lcov --gcov-tool "$GCOV" --remove coverage.info 'tests/*' '/usr/*' --output-file coverage.info
+ /tmp/usr/bin/lcov --gcov-tool "$GCOV" --list coverage.info
- # Assume that $COVERALLS_REPO_TOKEN might not be set (e.g. pull requests)
- coveralls-lcov --repo-token="$COVERALLS_REPO_TOKEN" coverage.info
+ codecov
fi