2013-08-29 11:31:50 +09:00
|
|
|
[tox]
|
2016-05-13 14:15:31 +09:00
|
|
|
envlist = py27,py34,py35,pypy26,pep8
|
2013-08-29 11:31:50 +09:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
deps = -U
|
|
|
|
-r{toxinidir}/tools/pip-requires
|
2016-11-15 11:23:14 +09:00
|
|
|
-r{toxinidir}/tools/optional-requires
|
2013-08-29 11:31:50 +09:00
|
|
|
-r{toxinidir}/tools/test-requires
|
2015-11-10 15:00:41 +09:00
|
|
|
--no-cache-dir
|
2015-06-20 00:10:23 +09:00
|
|
|
usedevelop = True
|
2015-09-17 16:28:48 +09:00
|
|
|
passenv= NOSE_VERBOSE
|
2013-08-29 11:31:50 +09:00
|
|
|
commands =
|
2016-05-13 14:15:32 +09:00
|
|
|
coverage run --source=ryu ryu/tests/run_tests.py '{posargs}'
|
2016-10-28 09:10:20 +09:00
|
|
|
bash ryu/tests/integrated/common/install_docker_test_pkg_for_travis.sh
|
|
|
|
python ryu/tests/integrated/run_test.py
|
2014-05-13 19:05:33 +09:00
|
|
|
|
2014-10-14 10:34:55 +09:00
|
|
|
[testenv:pep8]
|
|
|
|
commands =
|
|
|
|
pep8
|
|
|
|
|
2014-05-13 19:05:33 +09:00
|
|
|
[pep8]
|
2014-10-14 10:34:55 +09:00
|
|
|
exclude = pbr-*,.venv,.tox,.git,doc,dist,tools,vcsversion.py,.pyc,ryu/contrib,dictconfig.py
|
2015-02-16 12:05:20 +09:00
|
|
|
ignore = E113,E116,E402,E711,E731,E501,W503
|
2015-02-08 12:31:56 +09:00
|
|
|
|