forked from saxix/django-anonymoususer-permissions
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtox.ini
40 lines (34 loc) · 998 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
[tox]
envlist = d{19,110,111}-py{27,34,35,py}
d{20}-py{34,35,36}
[pytest]
python_paths=./tests/demoapp/
django_find_project = false
DJANGO_SETTINGS_MODULE=demo.settings
norecursedirs = .tox docs ./demoapp/
python_files=tests/test_*.py
addopts =
-v
-p no:warnings
--tb=short
--capture=no
--echo-version django
--echo-attr anonymous_permissions.compat.DJANGO_PRE_11
--cov=anonymous_permissions
--cov-report=html
--cov-config=tests/.coveragerc
pep8ignore = * ALL
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/anonymous_permissions
install_command=pip install {opts} {packages}
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH PYTHONDONTWRITEBYTECODE
deps=
d19: django>=1.9,<1.10
d110: django>=1.10,<1.11
d111: django>=1.11,<1.12
d20: django>=2.0,<2.1
trunk: git+git://github.com/django/django.git#egg=django
-rsrc/requirements/testing.pip
commands =
{posargs:py.test tests -rw -v --create-db}