fonttools/tox.ini

34 lines
705 B
INI
Raw Normal View History

[tox]
envlist = py27, py35
[testenv]
deps =
pytest
-rrequirements.txt
commands =
# run the test suite against the package installed inside tox env
py.test {posargs:--pyargs cu2qu}
[testenv:coverage]
basepython = {env:TOXPYTHON:python3.5}
deps =
{[testenv]deps}
pytest-cov
skip_install = true
commands=
# measure test coverage and create html report
py.test --cov --cov-report html {posargs}
[testenv:coveralls]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
basepython=python3.5
deps =
{[testenv:coverage]deps}
coveralls
skip_install = true
ignore_outcome = true
commands=
# measure test coverage and upload report to coveralls
py.test --cov
coveralls