-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
27 lines (24 loc) · 771 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
[tox]
skipsdist = True
envlist = py35-{dj110,dj111,dj20,djmaster}{-coveralls,}, flake8
[testenv]
commands =
coverage run --branch --omit=*/site-packages/* {toxinidir}/manage.py test --verbosity=2
coveralls: coveralls
passenv = DATABASE_URL TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH DATABASE_URL YUBICO_AUTH_CLIENT_ID YUBICO_AUTH_SECRET_KEY
setenv = DJANGO_SETTINGS_MODULE = config.settings.test
deps =
-rrequirements/test.txt
dj110: Django>=1.10,<1.11
dj111: Django>=1.11,<1.12
dj20: Django>=2.0,<2.1
djmaster: https://github.com/django/django/archive/master.tar.gz
coveralls: coveralls
[testenv:flake8]
deps =
flake8
commands = flake8 feder
[flake8]
max-line-length = 100
exclude = */tests/* */tests.py,*/migrations/*
max-complexity = 10