blob: 41b77fba27fa60efe3447fb8ec841a43c5868b02 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
[tox]
envlist = py38, py39
[testenv]
# force latest virtualenv/pip
download = true
deps = -rrequirements/tox.txt
commands =
pytest --cov {posargs:-v}
# build docs
[testenv:docs]
skip_install = true
deps =
-rrequirements/dev.txt
-rrequirements/docs.txt
commands =
python setup.py build_docs
# build dist files
[testenv:dist]
skip_install = true
deps = -rrequirements/dist.txt
commands =
python setup.py sdist
python setup.py bdist_wheel
|