dosage/tox.ini

33 lines
724 B
INI
Raw Normal View History

2016-03-20 18:43:48 +00:00
[tox]
envlist = py27, py35, flake8
2016-03-20 18:43:48 +00:00
[testenv]
commands =
{envbindir}/py.test --cov=dosage --cov=dosagelib --tb=short -n4 \
--cov-report=xml:{toxworkdir}/cov-{envname}.xml --cov-report=term \
2016-04-16 20:57:45 +00:00
--junitxml={toxworkdir}/junit-{envname}.xml {posargs}
2016-03-20 19:32:08 +00:00
passenv = TRAVIS
2016-03-20 18:43:48 +00:00
# Also install optional dependencies for tests.
deps =
pytest-xdist
pytest-cov
pytest-travis-fold
2016-03-20 18:43:48 +00:00
cssselect
Pillow
[testenv:flake8]
commands =
- {envbindir}/flake8
deps =
flake8
flake8-coding
flake8-future-import
[flake8]
# we aim for 79, but this suppresses warnings for now...
max-line-length = 120
ignore = E121,E126,E241,FI12,FI14,FI15,FI50,FI51,FI53,FI54,FI55
require-code = True
min-version = 2.7