Update tox config to allow packaging jobs to work

Add a "venv" environment for pass-through commands like
what the packaging job uses.

Change-Id: I473d330fc7e8e149f674d21f22ccfc0e1855e88f
This commit is contained in:
Doug Hellmann 2013-09-11 11:07:59 -04:00
parent 0dfb6e2853
commit 945d55c630
4 changed files with 24 additions and 0 deletions

5
.gitignore vendored
View File

@ -19,3 +19,8 @@ doc/_build
d2to1-*.egg
WSME.egg-info/
# Files created by pbr
AUTHORS
ChangeLog
pbr*.egg

View File

@ -1,6 +1,12 @@
Changes
=======
0.5b4 (2013-09-11)
------------------
Fixes some release-related files for the stackforge release process.
No user-facing bug fixes or features over what 0.5b3 provides.
0.5b3 (2013-09-04)
------------------

View File

@ -213,3 +213,10 @@ commands=
[testenv:pep8]
deps = flake8
commands = flake8 wsme wsmeext setup.py
# Generic environment for running commands like packaging
[testenv:venv]
commands = {posargs}
usedevelop=True
deps=
pbr

View File

@ -134,6 +134,12 @@ commands =
deps = flake8
commands = flake8 wsme wsmeext setup.py
[testenv:venv]
commands = {posargs}
usedevelop = True
deps =
pbr
[testenv:py26-sa5-lxml-json]
commands =
{envbindir}/coverage run {envbindir}/nosetests --nologcapture --with-xunit --xunit-file nosetests-{envname}.xml wsme/tests wsmeext/tests --verbose {posargs}