forked from MarkusH/django-osm-field
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
51 lines (45 loc) · 983 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
49
50
51
[tox]
envlist =
py33-dj18,
py{27,34,35}-dj{18,19,110,111},
py{35}-djmaster,
flake8,
isort
skipsdist = True
[testenv]
setenv =
PYTHONDONTWRITEBYTECODE=1
basepython =
py27: python2.7
py33: python3.3
py34: python3.4
py35: python3.5
deps =
dj17: Django>=1.7,<1.8
dj18: Django>=1.8,<1.9
dj19: Django>=1.9,<1.10
dj110: Django>=1.10,<1.11
dj111: Django
djmaster: https://github.com/django/django/archive/master.tar.gz
-r{toxinidir}/tests/requirements.txt
ignore_outcome =
djmaster: True
commands =
coverage run {envbindir}/django-admin.py test -v 2 --pythonpath=./ --settings=tests.settings
coverage report
pip_pre = True
usedevelop = True
[testenv:flake8]
basepython = python3.5
deps =
Django>=1.10,<1.11
-r{toxinidir}/tests/requirements.txt
commands = flake8
usedevelop = False
[testenv:isort]
basepython = python3.5
deps =
Django>=1.10,<1.11
-r{toxinidir}/tests/requirements.txt
commands = isort --recursive --check-only osm_field tests
usedevelop = False