forked from nephila/djangocms-page-tags
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
39 lines (35 loc) · 1.01 KB
/
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
35
36
37
38
39
[tox]
envlist = docs,pep8,isort,py{36,35,34,27}-django{111,110,19,18}-cms{35,34}
[testenv]
commands = {env:COMMAND:python} setup.py test
deps =
django18: Django>=1.8,<1.9
django18: django-taggit>=0.18
django19: Django>=1.9,<1.10
django19: django-taggit>=0.18
django19: django-polymorphic<0.9
django110: Django>=1.10,<1.11
django110: django-taggit>=0.18
django111: Django>=1.11,<2.0
django111: django-taggit>=0.18
cms34: https://github.com/divio/django-cms/archive/release/3.4.x.zip
cms35: https://github.com/divio/django-cms/archive/release/3.5.x.zip
-r{toxinidir}/requirements-test.txt
[testenv:pep8]
deps = flake8
commands = flake8
skip_install = true
[testenv:isort]
deps = isort
commands = isort -c -rc -df djangocms_page_tags tests
skip_install = true
[testenv:docs]
deps =
sphinx
sphinx-rtd-theme
Django<2.0
-rrequirements-test.txt
changedir=docs
skip_install = true
commands=
sphinx-build -W -b html -d {envtmpdir}/doctrees . {toxinidir}/docs/_build/html