From 72638975a9b1837d4fedb899e2611506074eb47e Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Wed, 17 Feb 2016 20:43:50 -0500 Subject: [PATCH] ENH: add codecov support to travis.yml and bandge to README.md --- .travis.yml | 3 ++- README.md | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index adb41e7d..50894a94 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,7 +23,7 @@ install: # coverage - travis_retry pip install coverage # coveralls - - travis_retry pip install coveralls + - travis_retry pip install coveralls codecov # dnspython or dnspython3 - if [[ "$F2B_PY_2" ]]; then travis_retry pip install dnspython; fi - if [[ "$F2B_PY_3" ]]; then travis_retry pip install dnspython3; fi @@ -43,6 +43,7 @@ script: - sudo $VENV_BIN/pip install . after_success: - coveralls + - codecov matrix: fast_finish: true # Might be worth looking into diff --git a/README.md b/README.md index cbc075e2..a05b24c6 100644 --- a/README.md +++ b/README.md @@ -77,6 +77,8 @@ Code status: * [![Coverage Status](https://coveralls.io/repos/fail2ban/fail2ban/badge.png?branch=master)](https://coveralls.io/r/fail2ban/fail2ban) +* [![codecov.io](https://codecov.io/github/fail2ban/fail2ban/coverage.svg?branch=master)](https://codecov.io/github/fail2ban/fail2ban?branch=master) + Contact: --------