forked from charettes/django-sundial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
44 lines (41 loc) · 1020 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,
py27-{1.8,1.9,1.10,1.11},
py{32,33}-1.8,
py34-{1.8,1.9,1.10,1.11,master},
py35-{1.9,1.10,1.11,master},
py36-{1.11,master}
[testenv]
basepython =
py27: python2.7
py32: python3.2
py33: python3.3
py34: python3.4
py35: python3.5
py36: python3.6
usedevelop = true
commands =
{envpython} -R -Wonce {envbindir}/coverage run {envbindir}/django-admin.py test -v2 --settings=tests.settings {posargs}
coverage report
deps =
py32: coverage<4.0
{py27,py33,py34,py35,py36}: coverage
1.8: Django>=1.8,<1.9
1.9: Django>=1.9,<1.10
1.10: Django>=1.10,<1.11
1.11: Django>=1.11,<2.0
master: https://github.com/django/django/archive/master.tar.gz
[testenv:flake8]
usedevelop = false
basepython = python2.7
commands = flake8
deps = flake8
[testenv:isort]
usedevelop = false
basepython = python2.7
commands = isort --recursive --check-only --diff sundial tests
deps = isort==4.2.5