os-ken/tox.ini
FUJITA Tomonori af5e6b5fb7 drop python2.6 support
The Python core team[*1] stopped supporting python 2.6. Some Python
libraries started following the same path and trying to support 2.6
becomes painful...

For example, most of you already noticed, oslo.config dropped 2.6
support. I tried to work around it with the following commit:

2250171098

But this forces users of decent distributions (e.g Ubuntu 14.04) to
upgrade pip (old pip versions can't understand version conditions).

[*1]
http://www.curiousefficiency.org/posts/2015/04/stop-supporting-python26.html

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-02-18 06:54:47 +09:00

22 lines
434 B
INI

[tox]
envlist = py27,py34,pypy,pep8
[testenv]
deps = -U
-r{toxinidir}/tools/pip-requires
-r{toxinidir}/tools/test-requires
--no-cache-dir
usedevelop = True
passenv= NOSE_VERBOSE
commands =
python ryu/tests/run_tests.py '{posargs}'
[testenv:pep8]
commands =
pep8
[pep8]
exclude = pbr-*,.venv,.tox,.git,doc,dist,tools,vcsversion.py,.pyc,ryu/contrib,dictconfig.py
ignore = E113,E116,E402,E711,E731,E501,W503