forked from django-treebeard/django-treebeard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
55 lines (52 loc) · 1.17 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
#
# tox.ini for django-treebeard
#
# Read docs/tests for help on how to use tox to run the test suite.
#
[tox]
envlist =
py27-dj17-sqlite,
py27-dj17-mysql,
py27-dj17-pgsql,
py27-dj18-sqlite,
py27-dj18-mysql,
py27-dj18-pgsql,
py27-dj19-sqlite,
py27-dj19-mysql,
py27-dj19-pgsql,
py34-dj17-sqlite,
py34-dj17-pgsql,
py34-dj18-sqlite,
py34-dj18-pgsql,
py34-dj19-sqlite,
py34-dj19-pgsql,
py35-dj18-sqlite,
py35-dj18-pgsql,
py35-dj19-sqlite,
py35-dj19-pgsql
[testenv:docs]
basepython=python
changedir = docs
deps =
Sphinx
Django
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv]
deps =
coverage>3.7
pytest>2.7
dj17: Django>=1.7,<1.8
dj18: Django>=1.8,<1.9
dj19: Django>=1.9,<2.0
mysql: MySQL-python>1.2
pgsql: psycopg2>2.4.1
setenv =
mysql: DATABASE_ENGINE=mysql
pgsql: DATABASE_ENGINE=postgresql_psycopg2
sqlite: DATABASE_ENGINE=sqlite3
DUMMY_VAR_TO_MAKE_TOX_HAPPY=tox
commands =
{envpython} treebeard/tests/jenkins/toxhelper.py \
--tb=long --fulltrace -l --junitxml .tests/junit-{envname}.xml \
{posargs}