forked from SmileyChris/easy-thumbnails
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
38 lines (35 loc) · 884 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
[tox]
distribute = False
envlist =
py{35,36,37}-django{11,22}
py{36,37,38}-django{30,31}
docs
skip_missing_interpreters = True
[travis]
python =
3.5: py35
3.6: py36, docs
3.7: py37
3.8: py38
[testenv]
setenv =
DJANGO_SETTINGS_MODULE=easy_thumbnails.tests.settings
usedevelop = True
deps =
django11: Django~=1.11.17
django22: Django~=2.2.0
django30: Django~=3.0.0
django31: Django~=3.1.0
testfixtures
commands =
python -Wd {envbindir}/django-admin test {posargs}
[testenv:docs]
basepython = python3.6
deps =
Sphinx
Django
commands =
{envbindir}/sphinx-build -a -n -q -W -d docs/_build/doctrees docs docs/_build/html
{envbindir}/rst2html.py --exit-status 2 README.rst /dev/null
{envbindir}/rst2html.py --exit-status 2 CHANGES.rst /dev/null
{envbindir}/rst2html.py --exit-status 2 TESTING.rst /dev/null