feat(travis): switch to codecov for code coverage (#1165)
This commit is contained in:
parent
6cee262225
commit
4dfa4079be
3 changed files with 8 additions and 4 deletions
5
.codecov.yml
Normal file
5
.codecov.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
ignore:
|
||||
- "tests/*"
|
||||
|
||||
comment:
|
||||
require_changes: true
|
|
@ -20,11 +20,10 @@ matrix:
|
|||
|
||||
- compiler: gcc
|
||||
env: BUILD_TYPE=Debug POLYBAR_BUILD_TYPE=tests BUILD_TESTS=ON
|
||||
before_install:
|
||||
- pip install --user cpp-coveralls
|
||||
script: ${TRAVIS_BUILD_DIR}/common/travis/tests.sh
|
||||
after_success:
|
||||
- coveralls --root .. -E ".*CMakeFiles.*" -e tests -e lib -e build/googletest-src --gcov-options '\-p'
|
||||
- cd ${TRAVIS_BUILD_DIR}
|
||||
- bash <(curl -s https://codecov.io/bash) -F unittests -a "-ap" -Z || echo "Codecov did not collect coverage reports"
|
||||
|
||||
- compiler: gcc
|
||||
env: BUILD_TYPE=Release
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Polybar
|
||||
|
||||
[](https://travis-ci.org/jaagr/polybar)
|
||||
[](https://coveralls.io/github/jaagr/polybar?branch=master)
|
||||
[](https://codecov.io/gh/jaagr/polybar/branch/master)
|
||||
[](https://github.com/jaagr/polybar/blob/master/LICENSE)
|
||||
|
||||
A fast and easy-to-use tool for creating status bars.
|
||||
|
|
Loading…
Add table
Reference in a new issue