forked from gintas/django-picklefield
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
44 lines (40 loc) · 880 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
44
[tox]
skipsdist = true
args_are_paths = false
envlist =
flake8,
isort,
py35-2.2,
py36-{2.2,3.0,master},
py37-{2.2,3.0,master},
py38-{2.2,3.0,master},
[tox:travis]
3.5 = py35
3.6 = py36
3.7 = py37
3.8 = py38
[testenv]
basepython =
py35: python3.5
py36: python3.6
py37: python3.7
py38: python3.8
usedevelop = true
commands =
{envpython} -R -Wonce {envbindir}/coverage run --branch -m django test -v2 --settings=tests.settings {posargs}
coverage report -m
deps =
coverage
2.2: Django>=2.2,<3.0
3.0: Django>=3.0,<3.1
master: https://github.com/django/django/archive/master.tar.gz
[testenv:flake8]
usedevelop = false
basepython = python3.6
commands = flake8
deps = flake8
[testenv:isort]
usedevelop = false
basepython = python3.6
commands = isort --recursive --check-only --diff picklefield tests
deps = isort==4.2.5