Skip to content

Commit

Permalink
Update tox.ini
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
  • Loading branch information
miurahr committed Nov 26, 2019
1 parent 2f6a844 commit dcc0d37
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[tox]
envlist = clean, mypy, check, pypy3, py{35,36,37}, bench, report, docs
envlist = clean, mypy, check, pypy3, py{35,36,37,38}, bench, report, docs

[testenv]
passenv = TRAVIS TRAVIS_* APPVEYOR APPVEYOR_*
deps = -rrequirements.txt
commands =
python -m pytest -vv
depends =
py{35,36,37}: clean, check
bench: py{35,36,37}
pypy3,py{35,36,37,38}: clean, check
bench: py{35,36,37,38}

[flake8]
ignore = F841
Expand All @@ -18,6 +18,7 @@ basepython =
py35: python3.5
py36: python3.6
py37: python3.7
py38: python3.8
pypy3: pypy3
python_files = test*.py
addopts = --benchmark-autosave --cov-report=term-missing:skip-covered --cov-append --cov=py7zr
Expand Down Expand Up @@ -45,6 +46,7 @@ strict_optional = True
show_column_numbers = True

[testenv:check]
basepython = python3.7
deps =
docutils
check-manifest
Expand All @@ -64,6 +66,7 @@ skip_install = true
commands = coverage erase

[testenv:bench]
basepython = python3.7
deps = pytest-benchmark
commands = pytest-benchmark compare

Expand All @@ -82,6 +85,7 @@ commands =
sphinx-build -b linkcheck docs dist/docs

[testenv:report]
basepython = python3.7
deps = coverage
skip_install = true
commands =
Expand Down

0 comments on commit dcc0d37

Please sign in to comment.