forked from mozilla/django-csp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
42 lines (41 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
[tox]
envlist =
{3.6,3.7,3.8,pypy3}-master,
{3.6,3.7,3.8,pypy3}-3.0.x,
{3.5,3.6,3,7,pypy3}-2.2.x,
{2.7,3.4,3.5,3.6,pypy,pypy3}-2.1.x,
{3.4,3.5,3.6,pypy3}-2.0.x,
{2.7,3.4,3.5,3.6,pypy,pypy3}-1.11.x,
{2.7,3.4,3.5,3.6,pypy}-1.10.x,
{2.7,3.4,3.5,3.6,pypy}-1.9.x,
{2.7,3.4,3.5,3.6,pypy}-1.8.x
[testenv]
setenv =
PYTHONPATH={toxinidir}
PYTHONDONTWRITEBYTECODE=1
commands =
pip install --upgrade pip setuptools wheel
pip install pytest-cov
pip install -e .
pip install -e .[tests]
py.test --cov={toxinidir}/csp {toxinidir}/csp
basepython =
2.7: python2.7
3.4: python3.4
3.5: python3.5
3.6: python3.6
3.7: python3.7
3.8: python3.8
pypy: pypy
pypy3: pypy3
deps=
pytest
1.8: Django>=1.8,<1.9
1.9: Django>=1.9,<1.10
1.10: Django>=1.10,<1.11
1.11: Django>=1.11,<1.12
2.0: Django>=2.0,<2.1
2.1: Django>=2.1,<2.2
2.2: Django>=2.2,<2.3
3.0: Django>=3.0,<3.1
master: https://github.com/django/django/archive/master.tar.gz