forked from MarkusH/django-dynamic-forms
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
40 lines (35 loc) · 782 Bytes
/
tox.ini
File metadata and controls
40 lines (35 loc) · 782 Bytes
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
[tox]
envlist =
py27-dj{17,18,19},
py32-dj{17,18},
py33-dj{17,18},
py34-dj{17,18,19},
flake8,
isort
skipsdist = True
[testenv]
setenv =
PYTHONDONTWRITEBYTECODE=1
basepython =
py27: python2.7
py32: python3.2
py33: python3.3
py34: python3.4
deps =
dj17: Django>=1.7,<1.8
dj18: Django>=1.8,<1.9
dj19: https://github.com/django/django/archive/master.tar.gz
-r{toxinidir}/tests/requirements.txt
commands = {envbindir}/django-admin.py test --pythonpath=./ --settings=tests.settings
[testenv:flake8]
basepython = python3.4
deps =
Django>=1.8,<1.9
-r{toxinidir}/tests/requirements.txt
commands = flake8
[testenv:isort]
basepython = python3.4
deps =
Django>=1.8,<1.9
-r{toxinidir}/tests/requirements.txt
commands = isort --recursive --check-only dynamic_forms tests