1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
[tox]
envlist =
py27,py34,py35,py36,pypy,pypy3
[testenv]
passenv = LANG LC_CTYPE LC_ALL MSYSTEM
deps =
mock
nose
commands =
nosetests {posargs}
## if I run check-manifest here, it breaks my 'make release' :(
## check-manifest
[testenv:coverage]
deps =
{[testenv]deps}
coverage
commands =
coverage run --source=check_manifest -m nose
## since I'm not running check-manifest during regular tests, let's not lie
## about the coverage numbers
## coverage run --append check_manifest.py
coverage report -m --fail-under=100
[testenv:py]
commands =
python --version
nosetests {posargs}
|