16 lines
570 B
INI
16 lines
570 B
INI
[tox]
|
|
envlist = py26,py27,py34,py35,py36,pypy,coverage-report
|
|
|
|
[testenv]
|
|
changedir = .tox
|
|
deps = -rrequirements-test.txt
|
|
commands = coverage run --parallel --rcfile {toxinidir}/.tox-coveragerc -m pytest --doctest-modules {envsitepackagesdir}/hyperlink {posargs}
|
|
|
|
# Uses default basepython otherwise reporting doesn't work on Travis where
|
|
# Python 3.6 is only available in 3.6 jobs.
|
|
[testenv:coverage-report]
|
|
changedir = .tox
|
|
deps = coverage
|
|
commands = coverage combine --rcfile {toxinidir}/.tox-coveragerc
|
|
coverage report --rcfile {toxinidir}/.tox-coveragerc
|