forked from itamarst/eliot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
66 lines (56 loc) · 1.17 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
[tox]
envlist = py35-numpy, py36, py37, pypy3, py38,
py35-twisted-latest,
linters3, sphinx
[travis]
python =
3.5: py35-numpy, py35-twisted-latest
3.6: py36
3.7: py37, linters3, sphinx
3.8: py38
pypy3: pypy3
[testenv]
commands =
{envpython} setup.py --version
pip install eliot[test]
{envpython} -m unittest {posargs:discover -v eliot.tests}
## No Twisted ##
[testenv:py35-numpy]
basepython = python3.5
deps = numpy
dask[bag]==1.2.1
[testenv:py36]
basepython = python3.6
deps = cffi
pyinstaller
[testenv:py37]
basepython = python3.7
deps = cffi
dask[bag]
dask[distributed]
dask[pandas]
pandas
[testenv:py38]
basepython = python3.8
deps =
[testenv:py35-twisted-latest]
basepython = python3.5
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=py35 eliot
[testenv:sphinx]
deps = sphinx
sphinx_rtd_theme
basepython = python3.7
commands =
sphinx-build -b html docs/source/ docs/_build/html