diff --git a/.travis.yml b/.travis.yml index 83f13caf..b2aa37b7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,8 +25,12 @@ matrix: python: 3.6 - env: TOX_ENV=check python: 3.6 -install: pip install -U tox +install: + - pip install -U tox + - pip install codecov script: travis_retry tox -e $TOX_ENV +after_success: + - codecov deploy: provider: pypi user: channelcat diff --git a/README.rst b/README.rst index 2b3f1606..1584b2a2 100644 --- a/README.rst +++ b/README.rst @@ -1,7 +1,7 @@ Sanic ===== -|Join the chat at https://gitter.im/sanic-python/Lobby| |Build Status| |PyPI| |PyPI version| +|Join the chat at https://gitter.im/sanic-python/Lobby| |Build Status| |Codecov| |PyPI| |PyPI version| Sanic is a Flask-like Python 3.5+ web server that's written to go fast. It's based on the work done by the amazing folks at magicstack, and was inspired by `this article `_. @@ -47,6 +47,8 @@ Documentation .. |Join the chat at https://gitter.im/sanic-python/Lobby| image:: https://badges.gitter.im/sanic-python/Lobby.svg :target: https://gitter.im/sanic-python/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge +.. |Codecov| image:: https://codecov.io/gh/yunstanford/sanic/branch/integrate-with-codecov/graph/badge.svg + :target: https://codecov.io/gh/yunstanford/sanic .. |Build Status| image:: https://travis-ci.org/huge-success/sanic.svg?branch=master :target: https://travis-ci.org/huge-success/sanic .. |Documentation| image:: https://readthedocs.org/projects/sanic/badge/?version=latest