Skip to content

Commit 5643422

Browse files
committed
Remove coverage
At the moment coverage is causing more trouble than it's worth. Codecov isn't giving meaningful results and we aren't using coverage to increase test coverage. Fixes: #348 Signed-off-by: Christian Heimes <cheimes@redhat.com>
1 parent 39ea8e5 commit 5643422

File tree

2 files changed

+3
-25
lines changed

2 files changed

+3
-25
lines changed

.travis.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,6 @@ env:
8585
install:
8686
- pip install "pip>=7.1.0"
8787
- pip install tox-travis tox codecov
88-
# Coverage 5.0+ has issues similar to:
89-
# https://github.com/nedbat/coveragepy/issues/915
90-
- pip install "coverage<5.0"
9188

9289
script: CFLAGS="$CFLAGS_warnings $CFLAGS_std" tox
9390

94-
after_success:
95-
# gather Python coverage
96-
- python -m coverage combine
97-
# send Python and GCOV coverage
98-
- codecov

tox.ini

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,21 @@
55

66
[tox]
77
# Note: when updating Python versions, also change setup.py and .travis.yml
8-
envlist = py27,py34,py35,py36,py37,py38,py39,{py2,py3}-nosasltls,doc,py3-trace,coverage-report
8+
envlist = py27,py34,py35,py36,py37,py38,py39,{py2,py3}-nosasltls,doc,py3-trace
99
minver = 1.8
1010

1111
[testenv]
12-
# Coverage 5.0+ has issues similar to:
13-
# https://github.com/nedbat/coveragepy/issues/915
14-
deps = coverage<5.0
1512
passenv = WITH_GCOV
1613
# - Enable BytesWarning
1714
# - Turn all warnings into exceptions.
1815
commands = {envpython} -bb -Werror \
19-
-m coverage run --parallel -m unittest discover -v -s Tests -p 't_*'
16+
-m unittest discover -v -s Tests -p 't_*'
2017

2118
[testenv:py27]
2219
# No warnings with Python 2.7
2320
passenv = {[testenv]passenv}
2421
commands =
25-
{envpython} -m coverage run --parallel \
26-
-m unittest discover -v -s Tests -p 't_*'
22+
{envpython} -m unittest discover -v -s Tests -p 't_*'
2723

2824
[testenv:py34]
2925
# No warnings with Python 3.4
@@ -76,16 +72,6 @@ basepython = pypy3.5
7672
deps = {[testenv:pypy]deps}
7773
commands = {[testenv:pypy]commands}
7874

79-
[testenv:coverage-report]
80-
# Coverage 5.0+ has issues similar to:
81-
# https://github.com/nedbat/coveragepy/issues/915
82-
deps = coverage<5.0
83-
skip_install = true
84-
commands =
85-
{envpython} -m coverage combine
86-
{envpython} -m coverage report --show-missing
87-
{envpython} -m coverage html
88-
8975
[testenv:doc]
9076
basepython = python3
9177
deps =

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy