This repository was archived by the owner on Apr 5, 2020. It is now read-only.
forked from jazzband/django-two-factor-auth
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtox.ini
More file actions
59 lines (53 loc) · 1.21 KB
/
Copy pathtox.ini
File metadata and controls
59 lines (53 loc) · 1.21 KB
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
54
55
56
57
58
59
[tox]
; Minimum version of Tox
minversion = 1.8
envlist =
py{36,37}-{dj21,dj30}-{normal,yubikey,custom_user},
py{36,37}-djmaster-{normal,yubikey,custom_user},
flake8
skipsdist = True
[travis]
unignore_outcomes = True
[travis:env]
DJANGO =
1.11: dj111
2.0: dj20
2.1: dj21
3.0.2: dj30
master: djmaster
VARIANT =
normal: normal
yubikey: yubikey
custom_user: custom_user
[testenv]
setenv =
PYTHONDONTWRITEBYTECODE=1
custom_user: AUTH_USER_MODEL=tests.User
basepython =
py36: python3.6
py37: python3.7
deps =
dj21: Django>=2.1b1,<2.2
djmaster: https://github.com/django/django/archive/master.tar.gz
yubikey: django-otp-yubikey
coverage
pytest
django-formtools
django-phonenumber-field>=1.1.0,<4.1
django_otp>=0.6.0,<0.99
phonenumbers>=7.0.9,<9
qrcode>=4.0.0,<6.99
twilio>=6.0
ignore_outcome =
djmaster: True
commands =
coverage run {envbindir}/django-admin.py test -v 2 --pythonpath=./ --settings=tests.settings
coverage report
[testenv:flake8]
basepython = python3.6
deps = flake8
commands = flake8 two_factor
[testenv:isort]
basepython = python3.6
deps = isort
commands = isort -rc -c --diff example tests two_factor