forked from jazzband/django-dbbackup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
60 lines (53 loc) · 1.18 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[tox]
envlist = py{3.6,3.7,3.8,nightly}-django2.2,py{3.6,3.7,3.8,nightly}-django{3.0,master},lint,docs,functional
[testenv]
passenv = *
setenv =
PYTHONDONTWRITEBYTECODE=1
basepython =
py3.6: python3.6
py3.7: python3.7
py3.8: python3.8
pypypy: pypy
pypypy3: pypy3
pynightly: python
deps =
-rrequirements-tests.txt
django2.2: Django>=2.2,<2.3
django3.0: Django>=3.0,<3.1
django3.1: Django>=3.1,<3.2
djangomaster: https://github.com/django/django/archive/master.zip
commands = {posargs:coverage run runtests.py}
[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38
[testenv:lint]
basepython = python
deps =
prospector
commands = prospector dbbackup -0
[testenv:docs]
basepython = python
whitelist_externals=make
deps = -rrequirements-docs.txt
commands = make docs
[testenv:functional]
basepython = python
passenv = *
whitelist_externals = bash
deps =
-rrequirements-tests.txt
Django
mysqlclient
psycopg2
commands = {posargs:bash -x functional.sh}
[testenv:functional-mongodb]
basepython = python
passenv = *
whitelist_externals = bash
deps =
-rrequirements-tests.txt
djongo
commands = {posargs:bash -x functional.sh}