27 lines
508 B
INI
27 lines
508 B
INI
[tox]
|
|
envlist = py{27}-django{111}-wagtail{113},lint
|
|
|
|
[testenv]
|
|
commands = coverage run --parallel -m pytest {posargs}
|
|
extras = test
|
|
deps =
|
|
django111: django>=1.11,<1.12
|
|
wagtail19: wagtail>=1.13,<1.14
|
|
|
|
[testenv:coverage-report]
|
|
basepython = python2.7
|
|
deps = coverage
|
|
pip_pre = true
|
|
skip_install = true
|
|
commands =
|
|
coverage combine
|
|
coverage report
|
|
|
|
|
|
[testenv:lint]
|
|
basepython = python2.7
|
|
deps = flake8==3.5.0
|
|
commands =
|
|
flake8 src tests setup.py
|
|
isort -q --recursive --diff src/ tests/
|