summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Wittig <max.wittig@siemens.com>2020-04-26 14:14:07 +0200
committerGitHub <noreply@github.com>2020-04-26 14:14:07 +0200
commit91c1c27956a51e2e12e3104c30988696711230ff (patch)
treeafa30d326d96b51007c815cd3c7f98b4903592dc
parent5a753105d95859854e52adc2575a9a51d43c341c (diff)
parente21b2c5c6a600c60437a41f231fea2adcfd89fbd (diff)
downloadgitlab-91c1c27956a51e2e12e3104c30988696711230ff.tar.gz
Merge pull request #1085 from python-gitlab/chore/codecov-travis
chore(ci): add codecov integration to Travis
-rw-r--r--.travis.yml5
-rw-r--r--README.rst3
2 files changed, 7 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 2935557..d4480a8 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 76d38ab..7aa0904 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