forked from zostera/django-bootstrap4
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
54 lines (47 loc) · 1.08 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
[tox]
minversion = 1.8.0
envlist =
coverage-clean,
py27-django{111},
py34-django{111,20},
py35-django{111,20,master},
py36-django{111,20,master},
coverage-report,
flake8,
docs
[testenv]
commands =
coverage run --source=bootstrap4 manage.py test -v1 --noinput
deps =
coverage
django111: Django>=1.11,<2.0
django20: Django>=2.0,<2.1
djangomaster: https://github.com/django/django/archive/master.tar.gz
[testenv:coverage-clean]
commands = coverage erase
[testenv:coverage-report]
deps =
Django>=1.11,<2.0
coverage
commands =
coverage report
coverage html
[testenv:flake8]
basepython = python3.6
commands = flake8
deps = flake8
[flake8]
ignore = F401,E731
exclude = .git,.tox,__pycache__
max-line-length = 120
[testenv:docs]
changedir = docs
deps =
Django>=1.11,<1.12
sphinx
sphinx_rtd_theme
commands = sphinx-build -b html -d _build/doctrees . _build/html
[testenv:isort]
basepython = python3.6
deps = isort==4.2.15
commands = isort --diff --check --recursive {toxinidir}/bootstrap4 {toxinidir}/tests {toxinidir}/example