forked from itamarst/eliot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
71 lines (60 loc) · 1.21 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
68
69
70
71
[tox]
envlist = py38-numpy, py36, py37, pypy3, py38, py39,
py38-twisted-latest,
linters3, sphinx
[gh-actions]
python =
3.6: py36
3.7: py37, linters3, sphinx
3.8: py38, py38-numpy, py38-twisted-latest
3.9: py39
pypy3: pypy3
[testenv]
commands =
{envpython} setup.py --version
pip install .[test]
pip list
{envpython} -m pytest -n 2
## No Twisted ##
[testenv:py38-numpy]
basepython = python3.8
deps = numpy
dask[bag]
[testenv:py36]
basepython = python3.6
deps =
[testenv:py37]
basepython = python3.7
deps = cffi
dask[bag]
dask[distributed]
dask[pandas]
pandas
[testenv:py38]
basepython = python3.8
deps = cffi
pyinstaller
[testenv:py39]
basepython = python3.9
deps =
[testenv:py38-twisted-latest]
basepython = python3.8
deps = Twisted
[testenv:pypy3]
basepython = pypy3
deps =
# Other validation:
[testenv:linters3]
deps = pyflakes
black
flake8
basepython = python3.7
commands =
pyflakes eliot
black --check --target-version=py36 eliot
[testenv:sphinx]
deps = sphinx
sphinx_rtd_theme
basepython = python3.7
commands =
sphinx-build -b html docs/source/ docs/_build/html