1 2 3 4 5 6 7 8 9 10 11 12 13 14
# content of: tox.ini , put in same dir as setup.py [tox] envlist = py27,py35 [testenv] deps= pytest coverage pytest-cov setenv= PYTHONPATH={toxinidir} commands= pytest --junitxml xunit-results.xml --cov discovery_client --cov-report=xml coverage xml