87d7bc589c8e9f89bc6af630867965abaf1f347e
[transportpce.git] / tests / tox.ini
1 [tox]
2 envlist = py27
3
4 [testenv]
5 usedevelop = True
6 basepython = python2.7
7 deps =
8   -r{toxinidir}/requirements.txt
9   -r{toxinidir}/test-requirements.txt
10 whitelist_externals = bash
11 commands =
12   bash -c "(cd .. && mvn clean install -DskipTests -Dmaven.javadoc.skip=true)"
13   {py27,portmapping}: ./build.sh
14   py27: nosetests --with-xunit transportpce_tests/
15   portmapping: nosetests --with-xunit transportpce_tests/test_portmapping.py
16   servicehandler: nosetests --with-xunit transportpce_tests/test_servicehandler.py
17   pce: nosetests --with-xunit transportpce_tests/test_pce.py