From ddef19433df25c1ed1eb05ab2e57ee862431d217 Mon Sep 17 00:00:00 2001 From: Yung-Chin Oei <yungchin@yungchin.nl> Date: Mon, 19 Oct 2015 19:40:18 +0100 Subject: [PATCH] travis-ci: switch to codecov.io for coverage reports Signed-off-by: Yung-Chin Oei <yungchin@yungchin.nl> --- .coveragerc | 2 ++ .travis.yml | 4 ++-- README.rst | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.coveragerc b/.coveragerc index 576ac582..c65389a1 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,5 +1,7 @@ [run] source = pykafka +branch = True + omit = */python?.?/* */lib-python/?.?/*.py diff --git a/.travis.yml b/.travis.yml index 4901f245..5edf6d8a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,7 +19,7 @@ notifications: install: - - pip install python-coveralls kazoo tox testinstances + - pip install codecov kazoo tox testinstances before_script: - "python -m pykafka.test.kafka_instance 3 --download-dir /home/travis/kafka-bin &" @@ -30,7 +30,7 @@ script: # Calculate coverage on success after_success: - - coveralls --config_file .coveragerc + - codecov branches: only: diff --git a/README.rst b/README.rst index 323e90d7..385bc84f 100644 --- a/README.rst +++ b/README.rst @@ -1,7 +1,7 @@ .. image:: https://travis-ci.org/Parsely/pykafka.svg?branch=master :target: https://travis-ci.org/Parsely/pykafka -.. image:: https://coveralls.io/repos/Parsely/pykafka/badge.svg?branch=master - :target: https://coveralls.io/r/Parsely/pykafka?branch=master +.. image:: https://codecov.io/github/Parsely/pykafka/coverage.svg?branch=master + :target: https://codecov.io/github/Parsely/pykafka?branch=master PyKafka ======= -- GitLab