Add release testenv to tox.ini

This commit is contained in:
Ian Cordasco
2015-03-20 09:48:46 -05:00
parent 8b622be23d
commit 2580624b2e

View File

@@ -19,6 +19,14 @@ deps =
flake8
commands = flake8 {posargs} github3/
[testenv:release]
deps =
wheel
twine>=1.4.0
commands =
python setup.py sdist bdist_wheel
twine upload dist/*
[pytest]
addopts = -q
norecursedirs = *.egg .git .* _*