forked from django-parler/django-parler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
35 lines (32 loc) · 764 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
[tox]
envlist=
py27-django{111},
py34-django{111,20},
py36-django{111,20,21},
# py33-django-dev,
coverage,
docs,
[testenv]
deps = django-polymorphic
django111: Django >= 1.11,<1.12
django20: Django >= 2.0,<2.1
django21: Django >= 2.1,<2.2
django-dev: https://github.com/django/django/tarball/master
commands=
python runtests.py
[testenv:docs]
deps =
Sphinx
sphinx_rtd_theme
-r{toxinidir}/docs/_ext/djangodummy/requirements.txt
changedir = docs
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv:coverage]
basepython=python3.6
deps=
django==2.0
coverage==4.4.1
commands=
coverage erase
coverage run --source=example/article,parler runtests.py
coverage report