mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-29 10:36:53 +00:00
Add build testenv for future CI work
This commit is contained in:
parent
2dec2ebc6e
commit
58e67634cd
1 changed files with 11 additions and 2 deletions
13
tox.ini
13
tox.ini
|
|
@ -110,15 +110,24 @@ deps =
|
|||
commands =
|
||||
python setup.py check -r -s
|
||||
|
||||
[testenv:release]
|
||||
# Release tooling
|
||||
[testenv:build]
|
||||
basepython = python3
|
||||
skip_install = true
|
||||
deps =
|
||||
wheel
|
||||
setuptools
|
||||
twine >= 1.5.0
|
||||
commands =
|
||||
python setup.py -q sdist bdist_wheel
|
||||
|
||||
[testenv:release]
|
||||
basepython = python3
|
||||
skip_install = true
|
||||
deps =
|
||||
{[testenv:build]deps}
|
||||
twine >= 1.5.0
|
||||
commands =
|
||||
{[testenv:build]commands}
|
||||
twine upload --skip-existing dist/*
|
||||
|
||||
# Flake8 Configuration
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue