2017-08-29 16:11:22 +03:00
|
|
|
[tox]
|
|
|
|
downloadcache = {toxworkdir}/cache/
|
2017-08-30 10:50:20 +03:00
|
|
|
envlist = py36,flake8
|
2017-08-29 16:11:22 +03:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
|
|
|
|
deps = -rtox-requirements.txt
|
|
|
|
-rrequirements.txt
|
|
|
|
commands =
|
|
|
|
pytest --random-order-bucket=global -sv --cov-report= --cov-config .coveragerc --cov heavyprofile heavyprofile/tests
|
|
|
|
- coverage report -m
|
|
|
|
- coveralls
|
|
|
|
|
|
|
|
[testenv:flake8]
|
|
|
|
commands = flake8 heavyprofile
|
|
|
|
deps =
|
|
|
|
flake8
|