-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
52 lines (48 loc) · 1.32 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
[tox]
envlist =
check,
; ; test all combinations
; {py37,py38,py39}-opencv{34,44,45}-numpy{117,118,119,120,121}
; py36-opencv{34,44,45}-numpy{117,118,119}
; test lowest highest supported package versions
py39-opencv45-numpy{117,121}
{py37,py38}-opencv{34,45}-numpy{117,121}
py36-opencv{34,45}-numpy{117,119}
[travis]
python =
3.9: py39
3.8: py38
3.7: py37
3.6: py36
[testenv:check]
deps =
docutils
check-manifest
flake8
readme-renderer
pygments
isort
skip_install = true
commands =
python setup.py check --strict --metadata
; check-manifest {toxinidir}
flake8 shape tests
isort --verbose --check-only --diff --filter-files shape tests
[testenv]
setenv =
PYTHONPATH = {toxinidir}
deps =
opencv34: opencv-python-headless>=3.4,<3.5
opencv40: opencv-python-headless>=4.0,<4.1
opencv41: opencv-python-headless>=4.1,<4.2
opencv42: opencv-python-headless>=4.2,<4.3
opencv43: opencv-python-headless>=4.3,<4.4
opencv44: opencv-python-headless>=4.4,<4.5
opencv45: opencv-python-headless>=4.5,<4.6
numpy116: numpy>=1.16,<1.17
numpy117: numpy>=1.17,<1.18
numpy118: numpy>=1.18,<1.19
numpy119: numpy>=1.19,<1.20
numpy120: numpy>=1.20,<1.21
numpy121: numpy>=1.21,<1.22
commands = python -m unittest discover