Update the docs to explain how to use the toxgen.py released on pypi and use it to regenerate the tox.ini file. Change-Id: I9e0d28f0e40aa0280132a644260d028190b10974
194 lines
3.5 KiB
INI
194 lines
3.5 KiB
INI
# DO NOT EDIT THIS FILE - it is machine generated from tox-tmpl.ini
|
|
|
|
[tox]
|
|
minversion = 1.6
|
|
skipsdist = True
|
|
envlist = cover,
|
|
pep8,
|
|
py26,
|
|
py26-ev,
|
|
py26-sa7,
|
|
py26-sa7-ev,
|
|
py26-sa8,
|
|
py26-sa8-ev,
|
|
py26-sa9,
|
|
py26-sa9-ev,
|
|
py27,
|
|
py27-ev,
|
|
py27-sa7,
|
|
py27-sa7-ev,
|
|
py27-sa8,
|
|
py27-sa8-ev,
|
|
py27-sa9,
|
|
py27-sa9-ev,
|
|
py33,
|
|
py33-sa7,
|
|
py33-sa8,
|
|
py33-sa9,
|
|
pylint
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
install_command = pip install {opts} {packages}
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
LANG=en_US.UTF-8
|
|
LANGUAGE=en_US:en
|
|
LC_ALL=C
|
|
deps = -r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
|
|
|
[tox:jenkins]
|
|
downloadcache = ~/cache/pip
|
|
|
|
[testenv:pep8]
|
|
commands = flake8 {posargs}
|
|
|
|
[testenv:pylint]
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
deps = -r{toxinidir}/requirements.txt
|
|
pylint==0.26.0
|
|
commands = pylint
|
|
|
|
[testenv:cover]
|
|
deps = -r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[flake8]
|
|
ignore = H402
|
|
builtins = _
|
|
exclude = .venv,.tox,dist,doc,./taskflow/openstack/common,*egg,.git,build,tools
|
|
|
|
[testenv:py26-sa7-ev]
|
|
deps = {[testenv]deps}
|
|
SQLAlchemy<=0.7.99
|
|
alembic>=0.4.1
|
|
eventlet>=0.13.0
|
|
basepython = python2.6
|
|
|
|
[testenv:py26-sa7]
|
|
deps = {[testenv]deps}
|
|
SQLAlchemy<=0.7.99
|
|
alembic>=0.4.1
|
|
basepython = python2.6
|
|
|
|
[testenv:py26-sa8-ev]
|
|
deps = {[testenv]deps}
|
|
SQLAlchemy>0.7.99
|
|
SQLAlchemy<=0.8.99
|
|
alembic>=0.4.1
|
|
eventlet>=0.13.0
|
|
basepython = python2.6
|
|
|
|
[testenv:py26-sa8]
|
|
deps = {[testenv]deps}
|
|
SQLAlchemy>0.7.99
|
|
SQLAlchemy<=0.8.99
|
|
alembic>=0.4.1
|
|
basepython = python2.6
|
|
|
|
[testenv:py26-sa9-ev]
|
|
deps = {[testenv]deps}
|
|
SQLAlchemy>0.8.99
|
|
SQLAlchemy<=0.9.99
|
|
alembic>=0.4.1
|
|
eventlet>=0.13.0
|
|
basepython = python2.6
|
|
|
|
[testenv:py26-sa9]
|
|
deps = {[testenv]deps}
|
|
SQLAlchemy>0.8.99
|
|
SQLAlchemy<=0.9.99
|
|
alembic>=0.4.1
|
|
basepython = python2.6
|
|
|
|
[testenv:py26-ev]
|
|
deps = {[testenv]deps}
|
|
eventlet>=0.13.0
|
|
basepython = python2.6
|
|
|
|
[testenv:py26]
|
|
deps = {[testenv]deps}
|
|
basepython = python2.6
|
|
|
|
[testenv:py27-sa7-ev]
|
|
deps = {[testenv]deps}
|
|
SQLAlchemy<=0.7.99
|
|
alembic>=0.4.1
|
|
eventlet>=0.13.0
|
|
basepython = python2.7
|
|
|
|
[testenv:py27-sa7]
|
|
deps = {[testenv]deps}
|
|
SQLAlchemy<=0.7.99
|
|
alembic>=0.4.1
|
|
basepython = python2.7
|
|
|
|
[testenv:py27-sa8-ev]
|
|
deps = {[testenv]deps}
|
|
SQLAlchemy>0.7.99
|
|
SQLAlchemy<=0.8.99
|
|
alembic>=0.4.1
|
|
eventlet>=0.13.0
|
|
basepython = python2.7
|
|
|
|
[testenv:py27-sa8]
|
|
deps = {[testenv]deps}
|
|
SQLAlchemy>0.7.99
|
|
SQLAlchemy<=0.8.99
|
|
alembic>=0.4.1
|
|
basepython = python2.7
|
|
|
|
[testenv:py27-sa9-ev]
|
|
deps = {[testenv]deps}
|
|
SQLAlchemy>0.8.99
|
|
SQLAlchemy<=0.9.99
|
|
alembic>=0.4.1
|
|
eventlet>=0.13.0
|
|
basepython = python2.7
|
|
|
|
[testenv:py27-sa9]
|
|
deps = {[testenv]deps}
|
|
SQLAlchemy>0.8.99
|
|
SQLAlchemy<=0.9.99
|
|
alembic>=0.4.1
|
|
basepython = python2.7
|
|
|
|
[testenv:py27-ev]
|
|
deps = {[testenv]deps}
|
|
eventlet>=0.13.0
|
|
basepython = python2.7
|
|
|
|
[testenv:py27]
|
|
deps = {[testenv]deps}
|
|
basepython = python2.7
|
|
|
|
[testenv:py33-sa7]
|
|
deps = {[testenv]deps}
|
|
SQLAlchemy<=0.7.99
|
|
alembic>=0.4.1
|
|
basepython = python3.3
|
|
|
|
[testenv:py33-sa8]
|
|
deps = {[testenv]deps}
|
|
SQLAlchemy>0.7.99
|
|
SQLAlchemy<=0.8.99
|
|
alembic>=0.4.1
|
|
basepython = python3.3
|
|
|
|
[testenv:py33-sa9]
|
|
deps = {[testenv]deps}
|
|
SQLAlchemy>0.8.99
|
|
SQLAlchemy<=0.9.99
|
|
alembic>=0.4.1
|
|
basepython = python3.3
|
|
|
|
[testenv:py33]
|
|
deps = {[testenv]deps}
|
|
basepython = python3.3
|
|
|