swift-bench/tox.ini
reedip b6b1e42fce Remove support for py33/py26
Python 3.3/Python 2.6 is not supported from Mitaka, as per Infra.
The following patch removes the support for the same.

Change-Id: I7c8a1a39f0e86cbd38466c2dcd611a8f513c8adc
Closes-Bug: #1526170
2016-09-10 04:11:32 +00:00

30 lines
554 B
INI

[tox]
envlist = py34,py27,pypy,pep8
minversion = 1.6
[testenv]
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = python setup.py testr --testr-args="{posargs}"
passenv = *_proxy *_PROXY
[testenv:pep8]
commands =
flake8
flake8 bin/swift-bench
flake8 bin/swift-bench-client
[testenv:venv]
commands = {posargs}
[testenv:cover]
setenv = NOSE_WITH_COVERAGE=1
commands = nosetests {posargs}
[flake8]
ignore = H
show-source = True
exclude = .venv,.tox,dist,doc,test,*egg