forked from nephila/djangocms-redirect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
34 lines (30 loc) · 876 Bytes
/
tox.ini
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
[tox]
envlist = docs,pep8,isort,py{37,36,35,27}-django{22}-cms{37},py{37,36,35,27}-django{21,111}-cms{37,36}
skip_missing_interpreters = true
[testenv]
commands = {env:COMMAND:python} setup.py test
deps =
django111: Django~=1.11.0
django111: django-formtools>=2.1,<2.2
django21: Django~=2.1.0
django22: Django~=2.2.0
cms36: https://github.com/divio/django-cms/archive/release/3.6.x.zip
cms37: https://github.com/divio/django-cms/archive/release/3.7.x.zip
-r{toxinidir}/requirements-test.txt
[testenv:isort]
commands = isort -c -rc
deps = isort
skip_install = true
[testenv:pep8]
commands = flake8
deps = flake8
skip_install = true
[testenv:docs]
changedir = docs
commands=
sphinx-build -W -b html -d {envtmpdir}/doctrees . {toxinidir}/docs/_build/html
deps =
sphinx
sphinx-rtd-theme
-rrequirements-docs.txt
skip_install = true