Merge branch 'explicit' into 'master'
[mailman-postorious.git] / tox.ini
blobfad21db226c2eaadd989f16b878857e3786b9663
1 [tox]
2 envlist = py{35,36}-django{111,20,latest},pep8
4 [testenv]
5 basepython = python3
6 usedevelop = True
7 deps =
8 mock
9 vcrpy
10 beautifulsoup4
11 head: git+https://gitlab.com/mailman/mailmanclient.git
12 head: git+https://gitlab.com/mailman/django-mailman3.git
13 dev,record: -e../mailmanclient
14 dev,record: -e../django-mailman3
15 dev,record: Django>=1.11,<1.12
16 django111: Django>=1.11,<1.12
17 django20: Django>=2.0,<2.1
18 django-latest: https://github.com/django/django/archive/master.tar.gz
19 commands =
20 python example_project/manage.py test --settings=test_settings {posargs:postorius}
21 setenv =
22 PYTHONPATH = {toxinidir}
23 record: POSTORIUS_VCR_RECORD_MODE = all
26 [testenv:coverage]
27 deps =
28 mock
29 vcrpy
30 coverage
31 beautifulsoup4
32 Django>=1.11,<1.12
33 commands =
34 coverage: coverage run example_project/manage.py test --settings=test_settings {posargs:postorius}
35 coverage: coverage html
36 coverage: coverage report -m
39 [testenv:pep8]
40 deps =
41 flake8
42 Django>1.11,<1.12
43 commands =
44 flake8 {posargs}
47 [flake8]
48 ignore = E123, E133
49 show-source = True
50 exclude = .git,.tox,dist,*egg,src/postorius/doc,example_project