2016-10-18 01:34:57 +03:00
|
|
|
[tox]
|
|
|
|
envlist=py27, py35
|
|
|
|
skipsdist=True
|
|
|
|
|
|
|
|
[testenv]
|
|
|
|
changedir=test
|
2016-10-31 22:36:07 +03:00
|
|
|
setenv =
|
|
|
|
PYTHONPATH = {toxinidir}:{toxinidir}/msrest
|
|
|
|
deps=
|
|
|
|
-rdev_requirements.txt
|
|
|
|
coverage
|
|
|
|
flake8
|
2016-10-18 01:34:57 +03:00
|
|
|
commands=
|
|
|
|
coverage run -m unittest discover -s . -p unittest*.py -t .. -v
|
|
|
|
coverage report --fail-under=40 --omit=unittest*,*.tox*.py
|
2016-12-09 02:19:46 +03:00
|
|
|
coverage xml --omit=unittest*,*.tox*.py
|
2016-10-18 01:34:57 +03:00
|
|
|
#flake8 .. --exclude=unittest*.py,doc,env --statistics
|