forked from watchdogpolska/poradnia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
33 lines (30 loc) · 838 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
[tox]
skipsdist = True
envlist = {py27,py34}-{dj110,dj111,djmaster}{-coveralls}, flake8
basepython =
py27: python2.7
py34: python3.4
[testenv]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH DATABASE_URL
setenv =
DJANGO_CONFIGURATION=Local
commands =
coverage run --branch --omit=*/site-packages/*,poradnia/*/migrations/*.py {toxinidir}/manage.py test --verbosity=2 --keepdb {posargs}
coveralls: coveralls
deps =
dj110: Django>=1.10,<1.11
dj111: Django>=1.11,<1.12
djmaster: https://github.com/django/django/archive/master.tar.gz
coverage
coveralls: coveralls
-rrequirements/test.txt
[testenv:flake8]
deps =
flake8
flake8-import-order
commands = flake8 poradnia
[flake8]
ignore = E128
max-line-length = 100
exclude = */tests/* */tests.py,*/tests/*.py,*/migrations/*
max-complexity = 10