Skip to content

Commit 91c1c27

Browse files
authored
Merge pull request #1085 from python-gitlab/chore/codecov-travis
chore(ci): add codecov integration to Travis
2 parents 5a75310 + e21b2c5 commit 91c1c27

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,11 @@ jobs:
8787
dist: bionic
8888
name: coverage
8989
python: 3.8
90+
install:
91+
- pip3 install tox codecov
9092
script:
91-
- pip3 install tox
9293
- tox -e cover
94+
after_success:
95+
- codecov
9396
allow_failures:
9497
- env: GITLAB_TAG=nightly

README.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
.. image:: https://readthedocs.org/projects/python-gitlab/badge/?version=latest
88
:target: https://python-gitlab.readthedocs.org/en/latest/?badge=latest
99

10+
.. image:: https://codecov.io/github/python-gitlab/python-gitlab/coverage.svg?branch=master
11+
:target: https://codecov.io/github/python-gitlab/python-gitlab?branch=master
12+
1013
.. image:: https://img.shields.io/pypi/pyversions/python-gitlab.svg
1114
:target: https://pypi.python.org/pypi/python-gitlab
1215

0 commit comments

Comments
 (0)