forked from ecometrica/django-multisite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
32 lines (29 loc) · 898 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
# Tox (https://tox.readthedocs.io/) 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]
setenv=
PYTHONPATH = {toxinidir}:{env:PYTHONPATH:}
usedevelop = True
envlist =
py36-django{2.2,2.1,2.0,1.11}
py35-django{2.1,2.0,1.11,1.10,1.9,1.8}
py34-django{2.0,1.11,1.10,1.9,1.8}
py27-django{1.11,1.10,1.9,1.8}
[testenv]
commands = pytest --cov --cov-config .coveragerc --pyargs multisite
deps =
coverage
pytest
pytest-cov
pytest-pythonpath
pytest-django
py27: mock
django2.2: Django>=2.2,<2.3
django2.1: Django>=2.1,<2.2
django2.0: Django>=2.0,<2.1
django1.11: Django>=1.11,<2.0
django1.10: Django>=1.10,<1.11
django1.9: Django>=1.9,<1.10
django1.8: Django>=1.8,<1.9