diff --git a/.travis.yml b/.travis.yml index 29355579b..d4480a8f1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -87,8 +87,11 @@ jobs: dist: bionic name: coverage python: 3.8 + install: + - pip3 install tox codecov script: - - pip3 install tox - tox -e cover + after_success: + - codecov allow_failures: - env: GITLAB_TAG=nightly diff --git a/README.rst b/README.rst index 76d38abf1..7aa090499 100644 --- a/README.rst +++ b/README.rst @@ -7,6 +7,9 @@ .. image:: https://readthedocs.org/projects/python-gitlab/badge/?version=latest :target: https://python-gitlab.readthedocs.org/en/latest/?badge=latest +.. image:: https://codecov.io/github/python-gitlab/python-gitlab/coverage.svg?branch=master + :target: https://codecov.io/github/python-gitlab/python-gitlab?branch=master + .. image:: https://img.shields.io/pypi/pyversions/python-gitlab.svg :target: https://pypi.python.org/pypi/python-gitlab