Add a configuration file for tox (http://testrun.org/tox/)

Python 2.6 and 2.7 interpreters are added to PATH, you can execute the following. Each virtual environment will be made and a test will be run.

$ tox

NOTE: py33 was failure because dependence packages are not worked on Python3 (At least: Eventlet).

Signed-off-by: Satoshi Kobayashi <satoshi-k@stratosphere.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
Satoshi Kobayashi 2013-08-29 11:31:50 +09:00 committed by FUJITA Tomonori
parent bab02cfaba
commit d2246e6626
1 changed files with 9 additions and 0 deletions

9
tox.ini Normal file
View File

@ -0,0 +1,9 @@
[tox]
envlist = py26,py27
[testenv]
deps = -U
-r{toxinidir}/tools/pip-requires
-r{toxinidir}/tools/test-requires
commands =
python ryu/tests/run_tests.py