From 56d6b510e6bf621dc7c9de35c5f94f027c028eaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Fri, 29 Mar 2019 22:53:26 +0100 Subject: [PATCH] core: move upload of code coverage from build-test.sh to .travis.yml --- .travis.yml | 1 + tools/build-test.sh | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 971202dd6..83a91473d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,6 +43,7 @@ after_success: - weechat --license - weechat --version - weechat --temp-dir --run-command "/debug dirs;/debug libs" --run-command "/quit" + - if [ "$CODECOVERAGE" = "1" ]; then bash <(curl -s https://codecov.io/bash) -f coverage.info || echo "Codecov error"; fi matrix: fast_finish: true diff --git a/tools/build-test.sh b/tools/build-test.sh index a769148c7..47ab99210 100755 --- a/tools/build-test.sh +++ b/tools/build-test.sh @@ -77,7 +77,6 @@ if [ "$BUILDTOOL" = "cmake" ]; then run "lcov --directory . --capture --output-file coverage.info" run "lcov --remove coverage.info '/usr/*' --output-file coverage.info" run "lcov --list coverage.info" - bash <(curl -s https://codecov.io/bash) -f coverage.info fi fi