Files
deb-python-taskflow/tox.ini
Ivan A. Melnikov 40cba47709 Put full set of requirements to py26, py27 and py33 envs
pyXY envs are considered to be default, so they must have richest set
of test requirements.

Change-Id: Ide2a8ab0500c0c6769ad7b8f0cc76f229a83db60
2014-01-23 16:24:29 +04:00

199 lines
3.6 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-nosa,
py26-nosa-ev,
py26-sa7,
py26-sa7-ev,
py26-sa8,
py26-sa8-ev,
py26-sa9,
py26-sa9-ev,
py27,
py27-nosa,
py27-nosa-ev,
py27-sa7,
py27-sa7-ev,
py27-sa8,
py27-sa8-ev,
py27-sa9,
py27-sa9-ev,
py33,
py33-nosa,
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]
basepython = python2.7
deps = {[testenv:py27-sa9-ev]deps}
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]
basepython = python2.6
deps = {[testenv:py27-sa7-ev]deps}
[testenv:py27]
basepython = python2.7
deps = {[testenv:py27-sa9-ev]deps}
[testenv:py33]
basepython = python3.3
deps = {[testenv:py33-sa9]deps}
[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.8,<=0.8.99
alembic>=0.4.1
eventlet>=0.13.0
basepython = python2.6
[testenv:py26-sa8]
deps = {[testenv]deps}
SQLAlchemy>=0.8,<=0.8.99
alembic>=0.4.1
basepython = python2.6
[testenv:py26-sa9-ev]
deps = {[testenv]deps}
SQLAlchemy>=0.9,<=0.9.99
alembic>=0.4.1
eventlet>=0.13.0
basepython = python2.6
[testenv:py26-sa9]
deps = {[testenv]deps}
SQLAlchemy>=0.9,<=0.9.99
alembic>=0.4.1
basepython = python2.6
[testenv:py26-nosa-ev]
deps = {[testenv]deps}
eventlet>=0.13.0
basepython = python2.6
[testenv:py26-nosa]
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.8,<=0.8.99
alembic>=0.4.1
eventlet>=0.13.0
basepython = python2.7
[testenv:py27-sa8]
deps = {[testenv]deps}
SQLAlchemy>=0.8,<=0.8.99
alembic>=0.4.1
basepython = python2.7
[testenv:py27-sa9-ev]
deps = {[testenv]deps}
SQLAlchemy>=0.9,<=0.9.99
alembic>=0.4.1
eventlet>=0.13.0
basepython = python2.7
[testenv:py27-sa9]
deps = {[testenv]deps}
SQLAlchemy>=0.9,<=0.9.99
alembic>=0.4.1
basepython = python2.7
[testenv:py27-nosa-ev]
deps = {[testenv]deps}
eventlet>=0.13.0
basepython = python2.7
[testenv:py27-nosa]
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.8,<=0.8.99
alembic>=0.4.1
basepython = python3.3
[testenv:py33-sa9]
deps = {[testenv]deps}
SQLAlchemy>=0.9,<=0.9.99
alembic>=0.4.1
basepython = python3.3
[testenv:py33-nosa]
deps = {[testenv]deps}
basepython = python3.3