forked from saxix/django-adminactions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
67 lines (54 loc) · 1.43 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
58
59
60
61
62
63
64
65
66
67
[tox]
# as per https://docs.djangoproject.com/en/1.11/faq/install/#what-python-version-can-i-use-with-django
envlist = d{20,21}-py{35,36}
skip_missing_interpreters = true
[pytest]
python_paths=./src ./tests
DJANGO_SETTINGS_MODULE=demo.settings
norecursedirs = demo .tox
addopts =
-vv
--doctest-modules
--tb=short
--reuse-db
--cov=adminactions
--cov-report=html
--cov-config=tests/.coveragerc
--capture=no
--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
; py27,py33,py34,py35: psycopg2
pypy: psycopg2cffi
d18: django>=1.8,<1.9
d19: django>=1.9,<1.10
d110: django>=1.10,<1.11
d111: django>=1.11,<1.12
d20: django>=2.0,<2.1
d21: django>=2.1,<2.2
; only for local development
dev: git+https://github.com/django/django.git
commands=
{posargs:py.test tests/ src --doctest-modules }
[testenv:py27-ddev]
ignore_outcome = true
pip_pre = true
[testenv:py33-ddev]
ignore_outcome = true
pip_pre = true
[testenv:py34-ddev]
ignore_outcome = true
pip_pre = true
[testenv:py35-ddev]
ignore_outcome = true
pip_pre = true