forked from pjialin/django-environ
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
49 lines (44 loc) · 1.01 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
[tox]
minversion = 1.8
envlist =
flake8,
py{27,34,35,36}-django{18,19,110,111},
py{34}-django20,
py{35,36,37}-django{20,21,22,master}
pypy-django{18,19,110,111}
[tox:travis]
2.7 = py27, flake8
3.4 = py34
3.5 = py35
3.6 = py36
3.7 = py37
pypy = pypy
[travis:env]
DJANGO =
1.8: django18
1.9: django19
1.10: django110
1.11: django111
2.0: django20
2.1: django21
2.2: django22
master: djangomaster
[testenv]
deps =
coverage
django18: Django >= 1.8, < 1.9
django19: Django >= 1.9, < 1.10
django110: Django >= 1.10, < 1.11
django111: Django >= 1.11, < 2
django20: Django >= 2.0, < 2.1
django21: Django >= 2.1, < 2.2
django22: Django >= 2.2, < 3.0
djangomaster: https://github.com/django/django/archive/master.tar.gz
commands = pip install -U pip
pip install .
python -Wd {envbindir}/coverage run --source=environ setup.py test {posargs}
coverage report
[testenv:flake8]
deps =
flake8
commands = flake8 environ