forked from adamalton/django-csp-reports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
36 lines (33 loc) · 775 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
33
34
35
36
[tox]
envlist =
quality
py35-{111,21,22}
py36-{111,21,22}
py37-{111,21,22}
py38-{22,30}
# tox-travis block: mark quality as part of the python3.6 build
[travis]
python =
3.6: py36, quality
# Generic specification for all unspecific environments
[testenv]
deps =
codecov
111: django >= 1.11, < 1.11.99
21: django >= 2.1, < 2.2
22: django >= 2.2.8, < 2.3
30: django >= 3.0.5, <4.0
extras = test
passenv = CI TRAVIS TRAVIS_*
setenv = DJANGO_SETTINGS_MODULE = cspreports.tests.settings
commands =
coverage run --branch --source=cspreports setup.py test
codecov
# Specific environments
[testenv:quality]
whitelist_externals = make
basepython = python3.6
extras = quality
commands =
make check-isort
make check-flake8