-
Notifications
You must be signed in to change notification settings - Fork 49
/
tox.ini
67 lines (61 loc) · 1.38 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
55
56
57
58
59
60
61
62
63
64
65
66
67
# tox documentation - https://tox.readthedocs.io/en/latest/config.html
[tox]
minversion = 2.4.0
envlist = py{36,37,38}-numpy-{none,116,117,118},py37-backtrace
[testenv]
basepython =
coverage: python3.7
py36: python3.6
py37: python3.7
py38: python3.8
codestyle: python3.7
install_command=
./tox-install.sh {opts} {packages}
setenv=
COVERAGE_FILE=.coverage.{envname}
PIP_DISABLE_PIP_VERSION_CHECK=1
commands=
pyq --versions
pyq -mpytest --pyargs pyq --cov pyq --cov-report=term-missing {posargs}
passenv = QLIC QZIP CPUS BITS KDB_VER
deps =
numpy-116: numpy>=1.16,<1.17
numpy-117: numpy>=1.17,<1.18
numpy-118: numpy>=1.18,<1.19
extras = test
[testenv:coverage]
install_command =
./tox-install.sh {opts} {packages}
skip_install = true
deps =
coverage>=5
setenv=
COVERAGE_FILE=.coverage
commands =
coverage combine
coverage html
coverage report --show-missing
coverage xml
[testenv:codestyle]
skip_install = true
deps = pycodestyle
commands = pycodestyle src/pyq setup.py -v
[testenv:py37-ccov]
skip_install = true
basepython = python3.7
install_command=
./tox-install.sh {opts} {packages}
deps=
pytest
pytest-cov
coverage>=5
numpy>=1.18,<1.19
pytest-pyq
commands=
./ci.sh
[testenv:py37-backtrace]
basepython = python3.7
setenv =
PYQ_BACKTRACE=y
COVERAGE_FILE=.coverage.{envname}
PIP_DISABLE_PIP_VERSION_CHECK=1