Skip to content

Commit

Permalink
Limit coverage version to <5.0 again to work around CI issues (#346)
Browse files Browse the repository at this point in the history
  • Loading branch information
Petr Viktorin authored and GitHub committed Jun 5, 2020
1 parent 450b2f3 commit 39ea8e5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,10 @@ env:

install:
- pip install "pip>=7.1.0"
- pip install tox-travis tox codecov coverage
- pip install tox-travis tox codecov
# Coverage 5.0+ has issues similar to:
# https://github.com/nedbat/coveragepy/issues/915
- pip install "coverage<5.0"

script: CFLAGS="$CFLAGS_warnings $CFLAGS_std" tox

Expand Down
8 changes: 6 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ envlist = py27,py34,py35,py36,py37,py38,py39,{py2,py3}-nosasltls,doc,py3-trace,c
minver = 1.8

[testenv]
deps = coverage
# Coverage 5.0+ has issues similar to:
# https://github.com/nedbat/coveragepy/issues/915
deps = coverage<5.0
passenv = WITH_GCOV
# - Enable BytesWarning
# - Turn all warnings into exceptions.
Expand Down Expand Up @@ -75,7 +77,9 @@ deps = {[testenv:pypy]deps}
commands = {[testenv:pypy]commands}

[testenv:coverage-report]
deps = coverage
# Coverage 5.0+ has issues similar to:
# https://github.com/nedbat/coveragepy/issues/915
deps = coverage<5.0
skip_install = true
commands =
{envpython} -m coverage combine
Expand Down

0 comments on commit 39ea8e5

Please sign in to comment.