diff options
| author | Bert JW Regeer <bertjw@regeer.org> | 2020-05-04 23:23:22 -0700 |
|---|---|---|
| committer | Bert JW Regeer <bertjw@regeer.org> | 2020-05-06 19:54:29 -0700 |
| commit | 57687face8ec3a912d6d886b8b2bcf27a97c82d0 (patch) | |
| tree | d6ff27fe811bf7f3d63822f1cba2601ef36c8d20 | |
| parent | b6df90d05262dc24a91f7edd1e477cf7e8a9fff6 (diff) | |
| download | pyramid-57687face8ec3a912d6d886b8b2bcf27a97c82d0.tar.gz pyramid-57687face8ec3a912d6d886b8b2bcf27a97c82d0.tar.bz2 pyramid-57687face8ec3a912d6d886b8b2bcf27a97c82d0.zip | |
Disable coverage by default
Use a special py38-cover testenv in tox to re-enable coverage reporting.
| -rw-r--r-- | .travis.yml | 4 | ||||
| -rw-r--r-- | setup.cfg | 2 | ||||
| -rw-r--r-- | tox.ini | 9 |
3 files changed, 11 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index c762c085b..57c8b935d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,8 +10,8 @@ matrix: env: TOXENV=py36 - python: pypy3 env: TOXENV=pypy3 - - python: 3.6 - env: TOXENV=py36-cover,coverage + - python: 3.8 + env: TOXENV=py38-cover,coverage - python: 3.6 env: TOXENV=docs - python: 3.6 @@ -22,4 +22,4 @@ ignore-bad-ideas = python_files = test_*.py testpaths = tests -addopts = -W always --cov +addopts = -W always @@ -2,7 +2,8 @@ envlist = lint, py35,py36,py37,py38,pypy3, - docs,coverage, + py38-cover,coverage, + docs [testenv] commands = @@ -13,6 +14,11 @@ extras = setenv = COVERAGE_FILE=.coverage.{envname} +[testenv:py38-cover] +commands = + python --version + pytest --cov {posargs:} + [testenv:lint] skip_install = true commands = @@ -52,6 +58,7 @@ deps = coverage setenv = COVERAGE_FILE=.coverage +depends = py38-cover [testenv:format] skip_install = true |
