mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-11 23:34:17 +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 =
|
commands =
|
||||||
python setup.py check -r -s
|
python setup.py check -r -s
|
||||||
|
|
||||||
[testenv:release]
|
# Release tooling
|
||||||
|
[testenv:build]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
skip_install = true
|
skip_install = true
|
||||||
deps =
|
deps =
|
||||||
wheel
|
wheel
|
||||||
setuptools
|
setuptools
|
||||||
twine >= 1.5.0
|
|
||||||
commands =
|
commands =
|
||||||
python setup.py -q sdist bdist_wheel
|
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/*
|
twine upload --skip-existing dist/*
|
||||||
|
|
||||||
# Flake8 Configuration
|
# Flake8 Configuration
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue