simplify tox.ini

This commit is contained in:
Jacob Pavlock 2020-07-07 15:05:40 -07:00
parent 25c6843c28
commit d5e5be5c8e

View file

@ -17,10 +17,8 @@ files = beets beetsplug beet test setup.py docs
deps = deps =
{test,cov}: {[_test]deps} {test,cov}: {[_test]deps}
lint: {[_lint]deps} lint: {[_lint]deps}
py27: pathlib
commands = commands =
py27-test: python -m pytest {posargs} test: python -bb -m pytest {posargs}
py3{4,5,6,7,8}-test: python -bb -m pytest {posargs}
cov: coverage run -m pytest {posargs} cov: coverage run -m pytest {posargs}
lint: python -m flake8 {posargs} {[_lint]files} lint: python -m flake8 {posargs} {[_lint]files}
@ -30,7 +28,6 @@ deps = sphinx
commands = sphinx-build -W -q -b html docs {envtmpdir}/html {posargs} commands = sphinx-build -W -q -b html docs {envtmpdir}/html {posargs}
[testenv:int] [testenv:int]
basepython = python3.8
deps = {[_test]deps} deps = {[_test]deps}
setenv = INTEGRATION_TEST = 1 setenv = INTEGRATION_TEST = 1
commands = python -m pytest {posargs} commands = python -bb -m pytest {posargs}