forked from saxix/django-adminfilters
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
58 lines (47 loc) · 1.25 KB
/
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
54
55
56
57
[tox]
envlist =
py{27}-d{14,15,16,17,18,19,trunk}
py{34}-d{17,18,trunk}
py{35}-d{18,19,trunk}
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
d14: django>=1.4,<1.5
d15: django>=1.5,<1.6
d16: django>=1.6,<1.7
d17: django>=1.7,<1.8
d18: django>=1.8,<1.9
d19: django>=1.9,<1.10
dtrunk: django>=1.10.dev,<1.11
commands=
{posargs:py.test --cov-report=xml --cov-report=term --junitxml=pytest.xml \
--cov-config=tests/.coveragerc --cov adminfilters}
[testenv:py27-dtrunk]
pip_pre = True
ignore_outcome = True
[testenv:py34-dtrunk]
pip_pre = True
ignore_outcome = True
[testenv:py35-dtrunk]
pip_pre = True
ignore_outcome = True