forked from bitshares/python-bitshares
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
37 lines (32 loc) · 621 Bytes
/
Copy pathtox.ini
File metadata and controls
37 lines (32 loc) · 621 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
[tox]
envlist = py{36,37,38}-{linux,windows},lint,docs
skip_missing_interpreters = true
[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38, lint, docs
[testenv]
platform = linux: linux
windows: win32
deps=-rrequirements-test.txt
extras = linux: speedups
commands=
coverage run setup.py test
coverage report
coverage html
coverage xml -i
[testenv:lint]
deps =
flake8
commands =
flake8 bitshares/ bitsharesapi/ bitsharesbase/
[testenv:docs]
basepython=
python
changedir=
docs
deps=-rdocs/requirements.txt
sphinx
commands=
sphinx-build -b html ./ ./html