forked from dennisv/django-storage-swift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
53 lines (48 loc) · 1.07 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
[tox]
skipsdist = true
args_are_paths = false
envlist =
flake8,
isort,
readme,
py27-{1.9,1.10}
py34-{1.9,1.10}
py35-{1.9,1.10,master}
py36-{1.9,1.10,master}
[testenv]
usedevelop = true
basepython =
py27: python2.7
py34: python3.4
py35: python3.5
py36: python3.6
deps =
coverage
mock>=2.0.0
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
setenv =
commands =
{envpython} -R -Wonce {envbindir}/coverage run {envbindir}/django-admin.py test -v2 {posargs} --settings tests.settings
coverage report
[testenv:flake8]
usedevelop = false
basepython = python2.7
commands = flake8
deps = flake8
[testenv:isort]
usedevelop = false
basepython = python2.7
commands = isort --recursive --check-only --diff swift tests
deps = isort==4.2.5
[testenv:readme]
usedevelop = false
basepython = python2.7
commands = python setup.py check -r -s
deps = readme_renderer
[flake8]
show-source = True
max-line-length = 100
exclude = .env, env, .tox, tests