forked from muccg/django-iprestrict
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtox.ini
34 lines (31 loc) · 744 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
[tox]
envlist =
{py27,py34,py35,py36}-django-{18,19,110,111}
{py34,py35,py36,py37}-django-20
{py35,py36,py37}-django-{21,22}
{py36,py37,py38}-django-{30}
flake8
skip_missing_interpreters = True
[travis]
python=
3.6: py36, flake8
[testenv]
commands =
./runtests.sh {env:RUNTEST_ARGS:}
deps =
pycountry==17.5.14
mock
django-18: Django>=1.8,<1.9
django-19: Django>=1.9,<1.10
django-110: Django>=1.10,<1.11
django-111: Django>=1.11,<1.12
django-20: Django>=2.0,<2.1
django-21: Django>=2.1,<2.2
django-22: Django>=2.2,<2.3
django-30: Django>=3.0,<3.1
[testenv:flake8]
deps =
Django
pep8
flake8
commands = flake8 iprestrict --max-line-length=120 --exclude=migrations