tox.ini: configure coveralls

This commit is contained in:
Cosimo Lupo 2016-04-11 00:17:14 +01:00
parent a37dc9f186
commit 624fe3f625

14
tox.ini
View File

@ -20,6 +20,20 @@ commands =
# run the test suite # run the test suite
py.test py.test
[testenv:coveralls]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
basepython=python3.5
deps =
{[testenv]deps}
pytest-cov
coveralls
skip_install = true
ignore_outcome = true
commands=
# measure test coverage and upload report to coveralls
py.test --cov
coveralls
[pytest] [pytest]
minversion = 2.8 minversion = 2.8
testpaths = testpaths =