mirror of
https://github.com/sprockets/sprockets-statsd.git
synced 2024-11-21 19:28:35 +00:00
30 lines
573 B
INI
30 lines
573 B
INI
[tox]
|
|
envlist = lint,distcheck,py37,py38,py39,tornado5
|
|
toxworkdir = ./build/tox
|
|
|
|
[testenv]
|
|
deps =
|
|
.[dev,tornado]
|
|
commands =
|
|
python -m unittest
|
|
|
|
[testenv:lint]
|
|
commands =
|
|
flake8 sprockets_statsd tests setup.py docs/conf.py
|
|
yapf -dr sprockets_statsd tests setup.py docs/conf.py
|
|
|
|
[testenv:distcheck]
|
|
deps =
|
|
twine
|
|
wheel
|
|
commands =
|
|
rm -fr {envtmpdir}/dist
|
|
python setup.py sdist --dist-dir {envtmpdir}/dist
|
|
python setup.py bdist_wheel --dist-dir {envtmpdir}/dist
|
|
twine check {envtmpdir}/dist/*
|
|
rm -fr {envtmpdir}/dist
|
|
|
|
[testenv:tornado5]
|
|
deps =
|
|
tornado>=5,<6
|
|
.[dev]
|