diff --git a/.codecov.yml b/.codecov.yml new file mode 100644 index 00000000..5935d931 --- /dev/null +++ b/.codecov.yml @@ -0,0 +1,5 @@ +ignore: + - "tests/*" + +comment: + require_changes: true diff --git a/.travis.yml b/.travis.yml index 93e233d6..c31bb5ce 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/README.md b/README.md index a23d3bb6..343ecf22 100644 --- a/README.md +++ b/README.md @@ -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.