Skip to content

Commit

Permalink
Add build testenv for future CI work
Browse files Browse the repository at this point in the history
  • Loading branch information
sigmavirus24 committed Jul 10, 2016
1 parent 2dec2eb commit 58e6763
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 58e6763

Please sign in to comment.