Skip to content

Commit 39ea8e5

Browse files
authored
Limit coverage version to <5.0 again to work around CI issues (python-ldap#346)
1 parent 450b2f3 commit 39ea8e5

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,10 @@ env:
8484

8585
install:
8686
- pip install "pip>=7.1.0"
87-
- pip install tox-travis tox codecov coverage
87+
- 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"
8891

8992
script: CFLAGS="$CFLAGS_warnings $CFLAGS_std" tox
9093

tox.ini

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ envlist = py27,py34,py35,py36,py37,py38,py39,{py2,py3}-nosasltls,doc,py3-trace,c
99
minver = 1.8
1010

1111
[testenv]
12-
deps = coverage
12+
# Coverage 5.0+ has issues similar to:
13+
# https://github.com/nedbat/coveragepy/issues/915
14+
deps = coverage<5.0
1315
passenv = WITH_GCOV
1416
# - Enable BytesWarning
1517
# - Turn all warnings into exceptions.
@@ -75,7 +77,9 @@ deps = {[testenv:pypy]deps}
7577
commands = {[testenv:pypy]commands}
7678

7779
[testenv:coverage-report]
78-
deps = coverage
80+
# Coverage 5.0+ has issues similar to:
81+
# https://github.com/nedbat/coveragepy/issues/915
82+
deps = coverage<5.0
7983
skip_install = true
8084
commands =
8185
{envpython} -m coverage combine

0 commit comments

Comments
 (0)