[testenv]
usedevelop = True
+basepython = python2.7
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
whitelist_externals = bash
commands =
- bash -c "(cd .. && mvn clean install -DskipTests -Dmaven.javadoc.skip=true)"
- ./build.sh
- nosetests --with-xunit transportpce_tests
+ {p27,portmapping,pce}: bash -c "(cd .. && mvn clean install -DskipTests -Dmaven.javadoc.skip=true)"
+ {py27,portmapping}: ./build.sh
+ {p27,servicehandler}: ./SH_func_tests.sh
+ py27: nosetests --with-xunit transportpce_tests/
+ portmapping: nosetests --with-xunit transportpce_tests/test_portmapping.py
+ servicehandler: nosetests --with-xunit transportpce_tests/test_servicehandler.py
+ pce: nosetests --with-xunit transportpce_tests/test_pce.py