dosage/tox.ini
2016-04-16 16:59:04 +02:00

25 lines
530 B
INI

[tox]
envlist = py27, py35
[testenv]
commands =
{envbindir}/py.test --cov=dosage --cov=dosagelib --tb=short -n4 \
--junitxml={toxworkdir}/junit-{envname}.xml
- {envbindir}/flake8
passenv = TRAVIS
# Also install optional dependencies for tests.
deps =
-rrequirements.txt
pytest-xdist
pytest-cov
pytest-travis-fold
cssselect
Pillow
flake8
flake8-coding
[flake8]
# we aim for 79, but this suppresses warnings for now...
max-line-length = 120
ignore = E121,E126,E241
exclude = build