-
Notifications
You must be signed in to change notification settings - Fork 40
/
tox.ini
54 lines (46 loc) · 1.02 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
# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
downloadcache = {toxworkdir}/.cache
[testenv]
commands = py.test tests --tb=short -x --pdb
setenv =
DJANGO_SETTINGS_MODULE = sampleproject.settings
PYTHONPATH = {toxinidir}:{toxinidir}/sampleproject
[base]
deps =
pytest-django
webtest
django-webtest
pytest
lxml
cssselect
mock
Pillow
[testenv:py27-django18]
basepython = python2.7
deps =
django>=1.8,<1.9
{[base]deps}
[testenv:py27-django19]
basepython = python2.7
deps =
django>=1.9,<1.10
{[base]deps}
[testenv:py27-django110]
basepython = python2.7
deps =
django>=1.10,<1.11
{[base]deps}
[testenv:py37-django20]
basepython = python3.7
deps =
django>=2.0,<2.1
{[base]deps}
[testenv:py37-django21]
basepython = python3.7
deps =
django>=2.1,<2.2
{[base]deps}