forked from SmileyChris/easy-thumbnails
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
52 lines (46 loc) · 1.05 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
[tox]
distribute = False
envlist =
lts, old-lts, old,
py27, py34,
docs
[testenv]
setenv = DJANGO_SETTINGS_MODULE=easy_thumbnails.tests.settings
usedevelop = True
deps =
Django<1.10
testfixtures
commands =
django-admin.py test {posargs}
[testenv:lts]
basepython = python2.7
deps =
Django<1.9
testfixtures
[testenv:old-lts]
basepython = python2.6
setenv = DJANGO_SETTINGS_MODULE=easy_thumbnails.tests.settings_lts
deps =
Django<1.5
testfixtures
django-discover-runner
[testenv:old]
basepython = python2.7
deps =
Django<1.8
testfixtures
[testenv:master]
basepython = python2.7
deps =
https://github.com/django/django/zipball/master
testfixtures
[testenv:docs]
basepython = python2.7
deps =
Sphinx==1.0.7
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