forked from html5lib/html5lib-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
21 lines (18 loc) · 587 Bytes
/
tox.ini
File metadata and controls
21 lines (18 loc) · 587 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[tox]
envlist = py{27,35,36,37,38,39,310,311,py,py3}-{base,optional,oldest}
[testenv]
deps =
base: -r{toxinidir}/requirements-test.txt
optional: -r{toxinidir}/requirements-test.txt
optional: -r{toxinidir}/requirements-optional.txt
oldest: -r{toxinidir}/requirements-oldest.txt
doc: Sphinx
passenv =
PYTEST_COMMAND # this is maintained so one can, e.g., PYTEST_COMMAND="coverage run -m pytest"
COVERAGE_RUN_OPTIONS
commands =
{env:PYTEST_COMMAND:{envbindir}/pytest} {posargs}
flake8 {toxinidir}
[testenv:doc]
changedir = doc
commands = sphinx-build -b html . _build