forked from jonasundderwolf/django-image-cropping
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
53 lines (46 loc) · 1.03 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
# Tox (http://tox.testrun.org/) is a tool for running tests in multiple virtualenvs.
# Install it via: pip install tox
# Then call "tox" from this directory to run the test suite for all configurations.
[tox]
envlist = py27_django14,
py27_django17,
py34_django17,
coverage
[base]
deps =
django-appconf==0.6
pillow==2.5.3
selenium
[testenv]
commands = django-admin.py test example
setenv =
DJANGO_SETTINGS_MODULE=example.settings
PYTHONPATH={toxinidir}
[testenv:py27_django14]
basepython = python2.7
deps =
Django<1.5
{[base]deps}
easy_thumbnails<=1.4
django-discover-runner
[testenv:py27_django17]
basepython = python2.7
deps =
Django<1.8
{[base]deps}
easy_thumbnails==2.2
[testenv:py34_django17]
basepython = python3.4
deps =
Django<1.8
easy_thumbnails==2.2
{[base]deps}
[testenv:coverage]
commands =
coverage run --branch --omit={envdir}/*,example/*.py,*/tests/*.py,*/migrations/*.py {envbindir}/django-admin.py test
coveralls
deps =
Django<1.8
coveralls>0.4
{[base]deps}
easy_thumbnails==2.2