32 lines
494 B
INI
32 lines
494 B
INI
[tox]
|
|
envlist = py27, py36, htmlcov
|
|
|
|
[testenv]
|
|
deps =
|
|
pytest
|
|
coverage
|
|
-rrequirements.txt
|
|
commands =
|
|
coverage run --parallel-mode -m pytest {posargs}
|
|
|
|
[testenv:htmlcov]
|
|
basepython = python3.6
|
|
deps =
|
|
coverage
|
|
skip_install = true
|
|
commands =
|
|
coverage combine
|
|
coverage report
|
|
coverage html
|
|
|
|
[testenv:codecov]
|
|
passenv = *
|
|
deps =
|
|
coverage
|
|
codecov
|
|
skip_install = true
|
|
ignore_outcome = true
|
|
commands =
|
|
coverage combine
|
|
codecov --env TRAVIS_PYTHON_VERSION
|