summaryrefslogtreecommitdiffhomepage
path: root/tox.ini
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2016-12-13 11:58:57 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-12-14 10:04:49 +0900
commitc810965826df8baf482c98cd959991a3515b9d90 (patch)
treeb3831bf6e0742c64e6df585cc93712825f010dd9 /tox.ini
parent1453f0f9e2771ee6def1f84ce14b09796df404bc (diff)
tox: Test ryu-manager without additional requirements
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini18
1 files changed, 13 insertions, 5 deletions
diff --git a/tox.ini b/tox.ini
index 6397d966..62258296 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,14 +2,18 @@
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}'
[testenv:scenario]
@@ -28,6 +32,10 @@ commands =
{[testenv:scenario]commands}
[testenv:pep8]
+deps =
+ -U
+ --no-cache-dir
+ pep8
commands =
pep8