ENH: add codecov support to travis.yml and bandge to README.md

pull/1327/head
Yaroslav Halchenko 2016-02-17 20:43:50 -05:00
parent 905c87ca4a
commit 72638975a9
2 changed files with 4 additions and 1 deletions

View File

@ -23,7 +23,7 @@ install:
# coverage # coverage
- travis_retry pip install coverage - travis_retry pip install coverage
# coveralls # coveralls
- travis_retry pip install coveralls - travis_retry pip install coveralls codecov
# dnspython or dnspython3 # dnspython or dnspython3
- if [[ "$F2B_PY_2" ]]; then travis_retry pip install dnspython; fi - if [[ "$F2B_PY_2" ]]; then travis_retry pip install dnspython; fi
- if [[ "$F2B_PY_3" ]]; then travis_retry pip install dnspython3; fi - if [[ "$F2B_PY_3" ]]; then travis_retry pip install dnspython3; fi
@ -43,6 +43,7 @@ script:
- sudo $VENV_BIN/pip install . - sudo $VENV_BIN/pip install .
after_success: after_success:
- coveralls - coveralls
- codecov
matrix: matrix:
fast_finish: true fast_finish: true
# Might be worth looking into # Might be worth looking into

View File

@ -77,6 +77,8 @@ Code status:
* [![Coverage Status](https://coveralls.io/repos/fail2ban/fail2ban/badge.png?branch=master)](https://coveralls.io/r/fail2ban/fail2ban) * [![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: Contact:
-------- --------