core: move upload of code coverage from build-test.sh to .travis.yml
parent
33cefb7daa
commit
56d6b510e6
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue