forked from saxix/django-adminfilters
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
41 lines (34 loc) · 995 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
[tox]
envlist =
py{27}-d{111}
py{35,36}-d{111,20}
skip_missing_interpreters = true
[pytest]
python_paths=./src ./tests/demo
DJANGO_SETTINGS_MODULE=demoproject.settings
norecursedirs = demo .tox
addopts =
--tb=short
--reuse-db
--capture=no
; --doctest-modules
--doctest-glob=adminactions/*.py
--echo-version django
doctest_optionflags=
python_files=tests/test_*.py tests/**/test_*.py
markers =
functional: mark a test as functional
[testenv]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH PYTHONDONTWRITEBYTECODE DISPLAY
setenv =
PYTHONDONTWRITEBYTECODE=true
whitelist_externals = mkdir
deps=
-rsrc/requirements/testing.pip
d110: django>=1.10,<1.11
d111: django>=1.11,<2.0
d20: django>=2.0,<2.1
dtrunk: https://github.com/django/django/zipball/master
commands=
{posargs:py.test --cov-report=xml --cov-report=term --junitxml=pytest.xml \
--cov-config=tests/.coveragerc --cov adminfilters}