-
Notifications
You must be signed in to change notification settings - Fork 11
/
tox.ini
48 lines (42 loc) · 922 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
45
46
47
48
[tox]
envlist =
py{27}-django-{19,110,111}
py{35,36,37}-django-{111,20,21}
py{35,36,37,38}-django-{22}
py{36,37,38}-django-{30}
py38-flake8
[pytest]
filterwarnings =
error
[travis]
python =
3.8: py38
3.7: py37
3.6: py36
3.5: py35
2.7: py27
[testenv]
setenv =
PYTHONPATH = {toxinidir}
DJANGO_SETTINGS_MODULE = tests.settings
deps =
-r{toxinidir}/requirements_test.txt
django-19: Django>=1.9,<1.10
django-110: Django>=1.10,<1.11
django-111: Django>=1.11,<1.12
django-20: Django>=2.0,<2.1
django-21: Django>=2.1,<2.2
django-22: Django>=2.2,<2.3
django-30: Django>=3.0,<3.1
commands =
pip install -U pip
py.test --basetemp={envtmpdir} --cov
basepython =
py38: python3.8
py37: python3.7
py36: python3.6
py35: python3.5
py27: python2.7
[testenv:py38-flake8]
commands = flake8 choicesenum/ tests/
deps = flake8