forked from disqus/django-bitfield
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
35 lines (34 loc) · 1.03 KB
/
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
[tox]
# Run Django versions with the Python versions that they support.
# Taken from:
# https://docs.djangoproject.com/en/dev/faq/install/#what-python-version-can-i-use-with-django
envlist =
py{27,34,35,36}-django{110,111}-{sqlite,postgres}, py{34,35,36,37,38,39}-django{20}-{sqlite,postgres},
py{35,36,37,38,39}-django{21,22}-{sqlite,postgres}, py{36,37,38,39}-django{30,31,32}-{sqlite,postgres}
[testenv]
commands =
py.test
passenv = DB
deps =
pytest
psycopg2>=2.3
py34: typing
django110: Django>=1.10,<1.11
django110: pytest-django>=3.1,<4.0
django111: Django>=1.11,<1.12
django111: pytest-django>=3.1,<4.0
django20: Django>=2.0,<2.1
django20: pytest-django>=3.1
django21: Django>=2.1,<2.2
django21: pytest-django>=3.1
django22: Django>=2.2,<2.3
django22: pytest-django>=3.1
django30: Django>=3.0,<3.1
django30: pytest-django>=3.1
django31: Django>=3.1,<3.2
django31: pytest-django>=3.10
django32: Django>=3.2,<3.3
django32: pytest-django>=4.2
setenv =
sqlite: DB=sqlite
postgres: DB=postgres