-
Notifications
You must be signed in to change notification settings - Fork 18
/
tox.ini
46 lines (39 loc) · 962 Bytes
/
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
[tox]
envlist = py36,py37,pypy3_linux,pypy3_win,flake8,manifest,lint,docs,py38,py39
[testenv]
extras= tests
commands = coverage run --branch -m py.test pycounter/test
[testenv:pypy3_linux]
platform = linux
extras= tests
commands = coverage run --branch -m py.test pycounter/test
[testenv:pypy3_win]
platform = win32
setenv =
PIP_EXTRA_INDEX_URL = https://pypi.bartbroe.re
PIP_ONLY_BINARY = lxml
extras= tests
commands = coverage run --branch -m py.test pycounter/test
[testenv:flake8]
basepython=python3.7
deps=
flake8
flake8-import-order
commands=
flake8 pycounter
[testenv:lint]
basepython=python3.7
deps= pylint
commands=pylint pycounter
[testenv:manifest]
basepython=python3.7
deps=
check-manifest
commands=
check-manifest
[testenv:docs]
basepython=python3.7
extras = docs
commands =
sphinx-build -W -b html docs/source docs/build/html
sphinx-build -W -b doctest docs/source docs/build/html