forked from django-money/django-money
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
76 lines (69 loc) · 1.51 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[tox]
envlist =
django_master-py{36,35}
django21-py{37,36,35,py3}
django20-py{36,35,34,py3}
django111-py{36,35,34,27,py}
django18-py{35,34,27,py}
lint
docs
skipsdist = true
[pytest]
django_find_project = false
python_paths = {toxinidir}
[testenv]
deps =
.[test]
django18: {[django]1.8.x}
django111: {[django]1.11.x}
django20: {[django]2.0.x}
django21: {[django]2.1.x}
django_master: {[django]master}
commands = py.test --ds=tests.settings --cov=./djmoney {posargs}
usedevelop = false
[testenv:lint]
deps =
flake8
isort
commands =
flake8 djmoney tests
isort -rc -c {toxinidir}/djmoney {toxinidir}/tests
[testenv:fix-lint]
deps =
isort
commands =
isort -rc {toxinidir}/djmoney {toxinidir}/tests
[django]
1.8.x =
Django>=1.8.0,<1.9.0
django-reversion==1.10.0
djangorestframework>=3.3.3,<3.7.0
1.11.x =
Django>=1.11.0,<2.0.0
django-reversion>=2.0.8
djangorestframework>=3.6.2
2.0.x =
Django>=2.0,<2.1
django-reversion>=2.0.8
djangorestframework>=3.7.3
2.1.x =
Django>=2.1,<2.2
django-reversion>=2.0.8
djangorestframework>=3.7.3
master =
https://github.com/django/django/tarball/master
django-reversion>=2.0.8
djangorestframework>=3.6.2
[testenv:no_rest_framework]
deps =
.[test]
Django>=1.11.0,<2.0.0
django-reversion>=2.0.8
[testenv:docs]
basepython = python3.6
changedir = docs
deps =
sphinx
-rdocs/requirements.txt
commands =
make html