1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
[tox]
envlist =
py{27,33,34}-dj18,
py{27,34,35}-dj{19,110,111},
py36-dj111
py{35,36}-dj20
flake8,
isort,
readme
[testenv]
deps =
dj18: Django>=1.8,<1.9
dj19: Django>=1.9,<1.10
dj110: Django>=1.10,<1.11
dj111: Django>=1.11,<2.0
dj20: Django==2.0b1
coverage
django_jinja
html5lib
selenium<4.0
sqlparse
setenv =
PYTHONPATH = {toxinidir}
whitelist_externals = make
pip_pre = True
usedevelop = true
commands = make coverage TEST_ARGS='{posargs:tests}'
[testenv:flake8]
commands = make flake8
deps = flake8
[testenv:isort]
commands = make isort_check_only
deps = isort
[testenv:jshint]
commands = make jshint
[testenv:readme]
commands = python setup.py check -r -s
deps = readme_renderer
|