forked from jazzband/django-categories
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
37 lines (31 loc) · 768 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
[tox]
envlist =
begin
py36-lint
py36-django{111,2,21,22,3,31}
coverage-report
[testenv]
deps=
django2: Django>=2.0,<2.1
django21: Django>=2.1,<2.2
django22: Django>=2.2,<2.3
django3: Django>=3.0,<3.1
django31: Django>=3.1,<3.2
django111: Django>=1.11,<1.12
coverage
pillow
ipdb
-r{toxinidir}/requirements.txt
commands=
coverage run --source=categories --omit='.tox/*,example/*,*/tests/*' {toxinidir}/example/manage.py test --settings='settings-testing' categories{posargs}
[testenv:begin]
commands = coverage erase
[testenv:py36-lint]
deps=
flake8
commands=
flake8 . --ignore=E501 --exclude=build/,dist/,.tox/,doc_src
[testenv:coverage-report]
commands =
coverage report -m
coverage html