forked from saxix/django-adminactions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
57 lines (46 loc) · 1.12 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,py}-d{17,18,19,dev}
py{33,34}-d{17,18,dev}
py{35}-d{18,19,dev}
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
d17: django>=1.7,<1.8
d18: django>=1.8,<1.9
d19: django>=1.9,<1.10
ddev: django>=1.10.dev,<1.11
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