forked from mbourqui/django-icons
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtox.ini
47 lines (41 loc) · 915 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
[tox]
minversion = 1.8.0
envlist =
coverage-clean
py27-{111}
py34-{111,20}
py35-{111,20}
py36-{20,master}
coverage-report
flake8
docs
[testenv]
commands =
coverage run --append --source=django_icons manage.py test -v1 --noinput
deps =
coverage
111: Django>=1.11,<2.0
20: Django>=2.0,<2.1
master: https://github.com/django/django/archive/master.tar.gz
[testenv:coverage-clean]
commands = coverage erase
[testenv:coverage-report]
commands =
coverage report
coverage html
[testenv:flake8]
basepython = python3.6
commands = flake8
deps = flake8
[flake8]
ignore = F401,E731,W503,E501
exclude = .git,.tox,__pycache__
max-line-length = 80
select = C,E,F,W,B,B950
[testenv:docs]
basepython = python3.6
changedir = docs
whitelist_externals = make
commands = sphinx-build -b html -d _build/doctrees . _build/html
deps =
-r{toxinidir}/docs/requirements.txt