tox.ini
[tox]
envlist = py27,py36,py37
[testenv]
commands =
{envbindir}/zope-testrunner -vpc1 --test-path ./src
deps =
-rrequirements.txt
[testenv:py27]
# Python 2.7 is the designated coverage report run.
basepython = python2.7
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
commands =
coverage erase
coverage run {envbindir}/zope-testrunner -vpc1 --all --test-path ./src
coverage xml
coverage report -m
deps =
{[testenv]deps}