forked from saxix/django-adminactions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
66 lines (53 loc) · 1.44 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
[tox]
# as per https://docs.djangoproject.com/en/1.11/faq/install/#what-python-version-can-i-use-with-django
envlist = d{18}-py{27,34,35,36,py}
d{19,110}-py{27,34,35,36,py}
d{111}-py{27,34,35,36,py}
;envlist = py{27,py}-d{18,19,110,111}
; py{33,34}-d{18}
; py{35,36}-d{18,19,110,111}
skip_missing_interpreters = true
[pytest]
python_paths=./src ./tests
DJANGO_SETTINGS_MODULE=demo.settings
norecursedirs = demo .tox
addopts =
--tb=short
--reuse-db
--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
; only for local development
d20: django>=2.0dev,<2.11
dev: git+https://github.com/django/django.git
commands=
{posargs:py.test tests/}
[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