Add build testenv for future CI work

This commit is contained in:
Ian Cordasco 2016-07-10 09:31:43 -05:00
parent 2dec2ebc6e
commit 58e67634cd
No known key found for this signature in database
GPG key ID: 656D3395E4A9791A

13
tox.ini
View file

@ -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