forked from zostera/django-bootstrap4
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
48 lines (43 loc) · 935 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[tox]
envlist =
{py27}-{1.11},
{py34}-{1.11,2.0},
{py35}-{1.11,2.0,2.1,master},
{py36}-{1.11,2.0,2.1,master}
{py37}-{2.1,master}
flake8
docs
[testenv]
setenv =
PYTHONWARNINGS=module::DeprecationWarning
commands =
coverage run --source=bootstrap4 manage.py test -v1 --noinput
coverage report -m
deps =
coverage
beautifulsoup4
1.11: Django>=1.11,<2.0
2.0: Django>=2.0,<2.1
2.1: Django==2.1
master: https://github.com/django/django/archive/master.tar.gz
[testenv:docs]
basepython = python
changedir = docs
deps =
Django>=1.11,<1.12
sphinx
sphinx_rtd_theme
commands = sphinx-build -b html -d _build/doctrees . _build/html
[testenv:flake8]
basepython = python3.6
deps = flake8
commands = flake8
[flake8]
ignore = F401,E731,W503
exclude = .git,.tox,__pycache__
max-line-length = 120
[travis]
python:
2.7: py27
3.6: py36, docs, flake8
3.7-dev: py37