dosage/tox.ini

41 lines
872 B
INI
Raw Normal View History

2016-03-20 18:43:48 +00:00
[tox]
envlist = py27, py34, py35, py36, flake8
2016-03-20 18:43:48 +00:00
[testenv]
commands =
{envbindir}/py.test --tb=short -n 4 \
--junitxml={toxworkdir}/junit-{envname}.xml \
--cov=dosagelib --cov-config=tox.ini --cov-branch \
--cov-report=term \
--cov-report=xml:{toxworkdir}/cov-{envname}.xml \
--cov-report=html:{toxworkdir}/cov-{envname} \
{posargs}
2017-11-28 00:27:40 +00:00
passenv = CI TRAVIS TRAVIS_*
2016-03-20 18:43:48 +00:00
deps =
pytest-travis-fold
# Also install extra dependencies for tests.
extras =
css
dimensions
test
[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
2018-05-22 22:54:40 +00:00
[pytest]
filterwarnings = default