forked from HackSoftware/django-enum-choices
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
43 lines (39 loc) · 774 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
[tox]
envlist =
lint-py{37}
django22-py{37,36}
django21-py{37,36,35}
django111-py{37,36,35}
[testenv]
deps =
{[base]deps}
django22: {[django]2.2}
django21: {[django]2.1}
django111: {[django]1.11}
commands = pytest
setenv =
DATABASE_URL = {env:DATABASE_URL:postgres:///django_enum_choices}
[testenv:lint-py37]
deps =
flake8
commands = flake8 django_enum_choices/
[base]
deps =
pytest
pytest-django
pytest-pythonpath
django-environ
psycopg2
[django]
2.2 =
Django>=2.2.0,<2.3.0
djangorestframework>=3.7.3
django-filter>=2.2.0
2.1 =
Django>=2.1.0,<2.2.0
djangorestframework>=3.7.3
django-filter>=2.2.0
1.11 =
Django>=1.11.0,<2.0.0
djangorestframework>=3.6.2
django-filter>=2.2.0