stevedore/tox.ini
Davanum Srinivas 2ef21b3210 Fix Python versions supported
We have CI for 2.6, 2.7, 3.4. So make sure
all references to other versions are removed and
all 3 versions above are correctly mentioned where
required.

Make sure we specify 3.4 everywhere needed

Change-Id: I2c90bccfc7495bf8197319196a12b2a8bd0519f1
2015-05-13 11:39:43 -04:00

28 lines
610 B
INI

[tox]
envlist = py34,py26,py27,pypy,pep8,docs
[testenv]
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
# tox passes --pre to pip by default, but we don't want that
install_command = pip install {opts} {packages}
distribute = False
commands = python setup.py testr --testr-args='{posargs}'
[testenv:venv]
commands = {posargs}
[testenv:pep8]
deps = flake8
ignore = E251
commands = flake8 stevedore setup.py
[testenv:docs]
commands = python setup.py build_sphinx
[flake8]
ignore = E251
show-source = True
exclude=.venv,.git,.tox,dist,*openstack/common*,*lib/python*,*egg,build