-
Notifications
You must be signed in to change notification settings - Fork 13
/
tox.ini
53 lines (41 loc) · 883 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
52
53
[tox]
envlist =
{py27,py34,py35,py36,py37}-django111,
{py34,py35,py36,py37}-django20,
{py35,py36,py37}-django21,
flake8,isort
skipsdist = True
[isort]
skip=.tox
known_third_party=django,html5lib
known_first_party=intl_tel_input
[travis:env]
DJANGO =
1.11: django111
2.0: django20
2.1: django21
[testenv]
commands =
coverage run testapp/manage.py test testapp --failfast
setenv =
PYTHONDONTWRITEBYTECODE=1
PYTHONPATH = {toxinidir}
deps =
django111: Django>=1.11,<2.0
django20: Django>=2.0,<2.1
django21: Django>=2.1,<2.2
coverage
html5lib
selenium
[testenv:flake8]
basepython = python3.7
deps =
flake8
commands=
flake8 intl_tel_input testapp
[testenv:isort]
basepython = python3.7
deps =
isort
commands=
isort -rc -c intl_tel_input testapp