forked from agateblue/django-dynamic-preferences
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
34 lines (28 loc) · 958 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 (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-32
; {py36,py37,py38,py39}-django-master
[testenv]
setenv =
PYTHONPATH = {toxinidir}
commands = pytest --cov=dynamic_preferences {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-32: Django>=3.2,<3.3
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