fonttools/tox.ini

38 lines
645 B
INI

[tox]
envlist = py27, py36, htmlcov
[testenv]
deps =
-rtest-requirements.txt
-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
[testenv:update-cython]
skip_install = true
deps = requests
changedir = {toxinidir}
commands =
python tools/update_cython_shadow.py {posargs}