8
This repository has been archived on 2023-05-07. You can view files and clone it, but cannot push or open issues or pull requests.
Files
cavemanon-wagtail-personali…/tox.ini
Michael van Tellingen 472635e63e Add travis/tox
2017-02-18 22:50:42 +01:00

30 lines
615 B
INI

[tox]
envlist = py{27,34,35,36}-django{18,19,110}-wagtail{18,19},lint
[testenv]
commands = coverage run --parallel -m pytest {posargs}
extras = test
deps =
django18: django>=1.8,<1.9
django19: django>=1.9,<1.10
django110: django>=1.10,<1.11
wagtail18: wagtail>=1.8,<1.9
wagtail19: wagtail>=1.9,<1.10
[testenv:coverage-report]
basepython = python3.5
deps = coverage
pip_pre = true
skip_install = true
commands =
coverage combine
coverage report
[testenv:lint]
basepython = python3.5
deps = flake8
commands =
flake8 src tests setup.py
isort -q --recursive --diff src/ tests/