Add convenience tox environments
Add a venv tox environment like we use in other projects to build a virtualenv and run commands. Add an 'update' environment to run the command for updating the requirements in another project. Add a 'generate' environment to run the command for generating constraints. Change-Id: Ib99fb4da6f62afd31339fa698c8f0e50ce817128
This commit is contained in:
parent
a85286e3b2
commit
1546490e02
9
tox.ini
9
tox.ini
@ -11,6 +11,15 @@ deps = -r{toxinidir}/test-requirements.txt
|
||||
commands =
|
||||
python setup.py testr --slowest --testr-args='{posargs}'
|
||||
|
||||
[testenv:venv]
|
||||
commands = {posargs}
|
||||
|
||||
[testenv:update]
|
||||
commands = update-requirements {posargs}
|
||||
|
||||
[testenv:generate]
|
||||
commands = generate-constraints {posargs}
|
||||
|
||||
# work around until pypy vs. setuptools issue in bug 1290562 is fixed
|
||||
[testenv:pypy]
|
||||
deps = setuptools>3.4
|
||||
|
Loading…
x
Reference in New Issue
Block a user