forked from agateblue/django-dynamic-preferences
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
40 lines (32 loc) · 967 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
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist =
{py36,py37,py38,py39}-django-22
{py36,py37,py38,py39}-django-30
{py36,py37,py38,py39}-django-31
{py36,py37,py38,py39}-django-master
[travis:env]
DJANGO =
2.2: django-22
3.0: django-30
3.1: django-31
master: django-master
[testenv]
setenv =
PYTHONPATH = {toxinidir}
commands = pytest {posargs}
deps =
django-{22,30,31,master}: djangorestframework>=3.12,<3.13
django-22: Django>=2.2,<2.3
django-30: Django>=3.0,<3.1
django-31: Django>=3.1,<3.2
django-master: https://github.com/django/django/archive/master.tar.gz
-r{toxinidir}/requirements-test.txt
basepython =
py39: python3.9
py38: python3.8
py37: python3.7
py36: python3.6