core: move upload of code coverage from build-test.sh to .travis.yml

v2.8-utf8proc
Sébastien Helleu 2019-03-29 22:53:26 +01:00
parent 33cefb7daa
commit 56d6b510e6
2 changed files with 1 additions and 1 deletions

View File

@ -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

View File

@ -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