mirror of
https://github.com/polybar/polybar.git
synced 2024-11-25 13:55:47 -05:00
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
|
||||
|
||||
[![Build Status](https://travis-ci.org/jaagr/polybar.svg?branch=master)](https://travis-ci.org/jaagr/polybar)
|
||||
[![Coverage Status](https://coveralls.io/repos/github/jaagr/polybar/badge.svg?branch=master)](https://coveralls.io/github/jaagr/polybar?branch=master)
|
||||
[![Coverage Status](https://codecov.io/gh/jaagr/polybar/branch/master/graph/badge.svg)](https://codecov.io/gh/jaagr/polybar/branch/master)
|
||||
[![MIT License](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000?style=plastic)](https://github.com/jaagr/polybar/blob/master/LICENSE)
|
||||
|
||||
A fast and easy-to-use tool for creating status bars.
|
||||
|
|
Loading…
Reference in a new issue