Since PBR now supports distinguishing between a requirements file for py2 and a different requirements file for py3 we should add the support for that separation so that it is easier to package taskflow. Change-Id: I3c5faa99a529bcb28aa0276b8d345a26f94b5af3
		
			
				
	
	
		
			280 lines
		
	
	
		
			6.1 KiB
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			280 lines
		
	
	
		
			6.1 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-sa7-mysql,
 | 
						|
    py26-sa7-mysql-ev,
 | 
						|
    py26-sa7-pymysql,
 | 
						|
    py26-sa7-pymysql-ev,
 | 
						|
    py26-sa8-mysql,
 | 
						|
    py26-sa8-mysql-ev,
 | 
						|
    py26-sa8-pymysql,
 | 
						|
    py26-sa8-pymysql-ev,
 | 
						|
    py26-sa9-mysql,
 | 
						|
    py26-sa9-mysql-ev,
 | 
						|
    py26-sa9-pymysql,
 | 
						|
    py26-sa9-pymysql-ev,
 | 
						|
    py27,
 | 
						|
    py27-sa7-mysql,
 | 
						|
    py27-sa7-mysql-ev,
 | 
						|
    py27-sa7-pymysql,
 | 
						|
    py27-sa7-pymysql-ev,
 | 
						|
    py27-sa8-mysql,
 | 
						|
    py27-sa8-mysql-ev,
 | 
						|
    py27-sa8-pymysql,
 | 
						|
    py27-sa8-pymysql-ev,
 | 
						|
    py27-sa9-mysql,
 | 
						|
    py27-sa9-mysql-ev,
 | 
						|
    py27-sa9-pymysql,
 | 
						|
    py27-sa9-pymysql-ev,
 | 
						|
    py33,
 | 
						|
    pylint,
 | 
						|
    pypy
 | 
						|
 | 
						|
[testenv]
 | 
						|
usedevelop = True
 | 
						|
install_command = pip install {opts} {packages}
 | 
						|
setenv = VIRTUAL_ENV={envdir}
 | 
						|
deps = -r{toxinidir}/test-requirements.txt
 | 
						|
    alembic>=0.4.1
 | 
						|
    psycopg2
 | 
						|
    kazoo>=1.3.1
 | 
						|
    kombu>=2.4.8
 | 
						|
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-py2.txt
 | 
						|
    pylint==0.26.0
 | 
						|
commands = pylint --rcfile=pylintrc taskflow
 | 
						|
 | 
						|
[testenv:cover]
 | 
						|
basepython = python2.7
 | 
						|
deps = {[testenv:py27]deps}
 | 
						|
commands = python setup.py testr --coverage --testr-args='{posargs}'
 | 
						|
 | 
						|
[testenv:venv]
 | 
						|
commands = {posargs}
 | 
						|
 | 
						|
[flake8]
 | 
						|
ignore = H904
 | 
						|
builtins = _
 | 
						|
exclude = .venv,.tox,dist,doc,./taskflow/openstack/common,*egg,.git,build,tools
 | 
						|
 | 
						|
[testenv:py26]
 | 
						|
deps = {[testenv:py26-sa7-mysql-ev]deps}
 | 
						|
 | 
						|
[testenv:py27]
 | 
						|
deps = -r{toxinidir}/requirements-py2.txt
 | 
						|
    -r{toxinidir}/optional-requirements.txt
 | 
						|
    -r{toxinidir}/test-requirements.txt
 | 
						|
    doc8>=0.3.4
 | 
						|
commands = 
 | 
						|
    python setup.py testr --slowest --testr-args='{posargs}'
 | 
						|
    sphinx-build -b doctest doc/source doc/build
 | 
						|
    doc8 doc/source
 | 
						|
 | 
						|
[testenv:py33]
 | 
						|
deps = {[testenv]deps}
 | 
						|
    -r{toxinidir}/requirements-py3.txt
 | 
						|
    SQLAlchemy>=0.7.8,<=0.9.99
 | 
						|
 | 
						|
[testenv:pypy]
 | 
						|
deps = -r{toxinidir}/requirements-py2.txt
 | 
						|
    -r{toxinidir}/test-requirements.txt
 | 
						|
    SQLAlchemy>=0.7.8,<=0.9.99
 | 
						|
    alembic>=0.4.1
 | 
						|
    kazoo>=1.3.1
 | 
						|
    kombu>=2.4.8
 | 
						|
 | 
						|
[testenv:py26-sa7-mysql-ev]
 | 
						|
deps = {[testenv]deps}
 | 
						|
    -r{toxinidir}/requirements-py2.txt
 | 
						|
    SQLAlchemy>=0.7.8,<=0.7.99
 | 
						|
    MySQL-python
 | 
						|
    eventlet>=0.13.0
 | 
						|
basepython = python2.6
 | 
						|
 | 
						|
[testenv:py26-sa7-mysql]
 | 
						|
deps = {[testenv]deps}
 | 
						|
    -r{toxinidir}/requirements-py2.txt
 | 
						|
    SQLAlchemy>=0.7.8,<=0.7.99
 | 
						|
    MySQL-python
 | 
						|
basepython = python2.6
 | 
						|
 | 
						|
[testenv:py26-sa7-pymysql-ev]
 | 
						|
deps = {[testenv]deps}
 | 
						|
    -r{toxinidir}/requirements-py2.txt
 | 
						|
    SQLAlchemy>=0.7.8,<=0.7.99
 | 
						|
    pyMySQL
 | 
						|
    eventlet>=0.13.0
 | 
						|
basepython = python2.6
 | 
						|
 | 
						|
[testenv:py26-sa7-pymysql]
 | 
						|
deps = {[testenv]deps}
 | 
						|
    -r{toxinidir}/requirements-py2.txt
 | 
						|
    SQLAlchemy>=0.7.8,<=0.7.99
 | 
						|
    pyMySQL
 | 
						|
basepython = python2.6
 | 
						|
 | 
						|
[testenv:py26-sa8-mysql-ev]
 | 
						|
deps = {[testenv]deps}
 | 
						|
    -r{toxinidir}/requirements-py2.txt
 | 
						|
    SQLAlchemy>=0.8,<=0.8.99
 | 
						|
    MySQL-python
 | 
						|
    eventlet>=0.13.0
 | 
						|
basepython = python2.6
 | 
						|
 | 
						|
[testenv:py26-sa8-mysql]
 | 
						|
deps = {[testenv]deps}
 | 
						|
    -r{toxinidir}/requirements-py2.txt
 | 
						|
    SQLAlchemy>=0.8,<=0.8.99
 | 
						|
    MySQL-python
 | 
						|
basepython = python2.6
 | 
						|
 | 
						|
[testenv:py26-sa8-pymysql-ev]
 | 
						|
deps = {[testenv]deps}
 | 
						|
    -r{toxinidir}/requirements-py2.txt
 | 
						|
    SQLAlchemy>=0.8,<=0.8.99
 | 
						|
    pyMySQL
 | 
						|
    eventlet>=0.13.0
 | 
						|
basepython = python2.6
 | 
						|
 | 
						|
[testenv:py26-sa8-pymysql]
 | 
						|
deps = {[testenv]deps}
 | 
						|
    -r{toxinidir}/requirements-py2.txt
 | 
						|
    SQLAlchemy>=0.8,<=0.8.99
 | 
						|
    pyMySQL
 | 
						|
basepython = python2.6
 | 
						|
 | 
						|
[testenv:py26-sa9-mysql-ev]
 | 
						|
deps = {[testenv]deps}
 | 
						|
    -r{toxinidir}/requirements-py2.txt
 | 
						|
    SQLAlchemy>=0.9,<=0.9.99
 | 
						|
    MySQL-python
 | 
						|
    eventlet>=0.13.0
 | 
						|
basepython = python2.6
 | 
						|
 | 
						|
[testenv:py26-sa9-mysql]
 | 
						|
deps = {[testenv]deps}
 | 
						|
    -r{toxinidir}/requirements-py2.txt
 | 
						|
    SQLAlchemy>=0.9,<=0.9.99
 | 
						|
    MySQL-python
 | 
						|
basepython = python2.6
 | 
						|
 | 
						|
[testenv:py26-sa9-pymysql-ev]
 | 
						|
deps = {[testenv]deps}
 | 
						|
    -r{toxinidir}/requirements-py2.txt
 | 
						|
    SQLAlchemy>=0.9,<=0.9.99
 | 
						|
    pyMySQL
 | 
						|
    eventlet>=0.13.0
 | 
						|
basepython = python2.6
 | 
						|
 | 
						|
[testenv:py26-sa9-pymysql]
 | 
						|
deps = {[testenv]deps}
 | 
						|
    -r{toxinidir}/requirements-py2.txt
 | 
						|
    SQLAlchemy>=0.9,<=0.9.99
 | 
						|
    pyMySQL
 | 
						|
basepython = python2.6
 | 
						|
 | 
						|
[testenv:py27-sa7-mysql-ev]
 | 
						|
deps = {[testenv]deps}
 | 
						|
    -r{toxinidir}/requirements-py2.txt
 | 
						|
    SQLAlchemy>=0.7.8,<=0.7.99
 | 
						|
    MySQL-python
 | 
						|
    eventlet>=0.13.0
 | 
						|
basepython = python2.7
 | 
						|
 | 
						|
[testenv:py27-sa7-mysql]
 | 
						|
deps = {[testenv]deps}
 | 
						|
    -r{toxinidir}/requirements-py2.txt
 | 
						|
    SQLAlchemy>=0.7.8,<=0.7.99
 | 
						|
    MySQL-python
 | 
						|
basepython = python2.7
 | 
						|
 | 
						|
[testenv:py27-sa7-pymysql-ev]
 | 
						|
deps = {[testenv]deps}
 | 
						|
    -r{toxinidir}/requirements-py2.txt
 | 
						|
    SQLAlchemy>=0.7.8,<=0.7.99
 | 
						|
    pyMySQL
 | 
						|
    eventlet>=0.13.0
 | 
						|
basepython = python2.7
 | 
						|
 | 
						|
[testenv:py27-sa7-pymysql]
 | 
						|
deps = {[testenv]deps}
 | 
						|
    -r{toxinidir}/requirements-py2.txt
 | 
						|
    SQLAlchemy>=0.7.8,<=0.7.99
 | 
						|
    pyMySQL
 | 
						|
basepython = python2.7
 | 
						|
 | 
						|
[testenv:py27-sa8-mysql-ev]
 | 
						|
deps = {[testenv]deps}
 | 
						|
    -r{toxinidir}/requirements-py2.txt
 | 
						|
    SQLAlchemy>=0.8,<=0.8.99
 | 
						|
    MySQL-python
 | 
						|
    eventlet>=0.13.0
 | 
						|
basepython = python2.7
 | 
						|
 | 
						|
[testenv:py27-sa8-mysql]
 | 
						|
deps = {[testenv]deps}
 | 
						|
    -r{toxinidir}/requirements-py2.txt
 | 
						|
    SQLAlchemy>=0.8,<=0.8.99
 | 
						|
    MySQL-python
 | 
						|
basepython = python2.7
 | 
						|
 | 
						|
[testenv:py27-sa8-pymysql-ev]
 | 
						|
deps = {[testenv]deps}
 | 
						|
    -r{toxinidir}/requirements-py2.txt
 | 
						|
    SQLAlchemy>=0.8,<=0.8.99
 | 
						|
    pyMySQL
 | 
						|
    eventlet>=0.13.0
 | 
						|
basepython = python2.7
 | 
						|
 | 
						|
[testenv:py27-sa8-pymysql]
 | 
						|
deps = {[testenv]deps}
 | 
						|
    -r{toxinidir}/requirements-py2.txt
 | 
						|
    SQLAlchemy>=0.8,<=0.8.99
 | 
						|
    pyMySQL
 | 
						|
basepython = python2.7
 | 
						|
 | 
						|
[testenv:py27-sa9-mysql-ev]
 | 
						|
deps = {[testenv]deps}
 | 
						|
    -r{toxinidir}/requirements-py2.txt
 | 
						|
    SQLAlchemy>=0.9,<=0.9.99
 | 
						|
    MySQL-python
 | 
						|
    eventlet>=0.13.0
 | 
						|
basepython = python2.7
 | 
						|
 | 
						|
[testenv:py27-sa9-mysql]
 | 
						|
deps = {[testenv]deps}
 | 
						|
    -r{toxinidir}/requirements-py2.txt
 | 
						|
    SQLAlchemy>=0.9,<=0.9.99
 | 
						|
    MySQL-python
 | 
						|
basepython = python2.7
 | 
						|
 | 
						|
[testenv:py27-sa9-pymysql-ev]
 | 
						|
deps = {[testenv]deps}
 | 
						|
    -r{toxinidir}/requirements-py2.txt
 | 
						|
    SQLAlchemy>=0.9,<=0.9.99
 | 
						|
    pyMySQL
 | 
						|
    eventlet>=0.13.0
 | 
						|
basepython = python2.7
 | 
						|
 | 
						|
[testenv:py27-sa9-pymysql]
 | 
						|
deps = {[testenv]deps}
 | 
						|
    -r{toxinidir}/requirements-py2.txt
 | 
						|
    SQLAlchemy>=0.9,<=0.9.99
 | 
						|
    pyMySQL
 | 
						|
basepython = python2.7
 | 
						|
 |