Signed-off-by: IWASE Yusuke <[email protected]>
---
tox.ini | 18 +++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)
diff --git a/tox.ini b/tox.ini
index f87480a..6454af3 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,19 +2,27 @@
envlist = py27,py34,py35,pypy26,pep8
[testenv]
-deps = -U
- -r{toxinidir}/tools/pip-requires
- -r{toxinidir}/tools/optional-requires
- -r{toxinidir}/tools/test-requires
- --no-cache-dir
+deps =
+ -U
+ -r{toxinidir}/tools/pip-requires
+ --no-cache-dir
usedevelop = True
passenv= NOSE_VERBOSE
+# Note: To check whether tools/pip-requires satisfies the requirements
+# for running Ryu, the following runs ryu-manager berfore installing
+# the addtional requirements.
commands =
+ ryu-manager ryu/tests/unit/cmd/dummy_openflow_app.py
+ pip install -r{toxinidir}/tools/optional-requires
-r{toxinidir}/tools/test-requires
coverage run --source=ryu ryu/tests/run_tests.py '{posargs}'
bash ryu/tests/integrated/common/install_docker_test_pkg_for_travis.sh
python ryu/tests/integrated/run_test.py
[testenv:pep8]
+deps =
+ -U
+ --no-cache-dir
+ pep8
commands =
pep8
--
2.7.4
------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel