forked from antocuni/capnpy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
45 lines (35 loc) · 972 Bytes
/
tox.ini
File metadata and controls
45 lines (35 loc) · 972 Bytes
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
[tox]
# nopyx is a special env where Cython is NOT installed, and thus we run
# pure-python tests
envlist = py27-test-nopyx,py27-{test,bench},py35-test,py36-test,py37-test,py38-test,py39-test,[y310-test,pypy-{test,bench},pypy3-{test},docs
[testenv]
setenv =
TOX_ENV={envname}
deps =
py27: pytest==4.6.11
!py27: pytest==6.2.5
#git+https://github.com/antocuni/pytest-benchmark.git#egg=pytest-benchmark
py27: pkgconfig==1.5.2
py27: pycapnp==0.6.4
commands =
test: py.test {envsitepackagesdir}/capnpy/testing -rs --pyx {posargs}
bench: echo "BENCHMARKS ARE DISABLED" && false
#bench: py.test {envsitepackagesdir}/capnpy/benchmarks -rs --benchmark-autosave {posargs}
[testenv:py27-test-nopyx]
setenv =
USE_CYTHON=0
[testenv:docs]
setenv =
USE_CYTHON=0
whitelist_externals =
make
deps =
pytest==4.6.11
sphinx
sphinx_rtd_theme
mock
dotmap
pygal
commands =
py.test docs/ext
make -C docs doctest