-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtox.ini
54 lines (48 loc) · 907 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
47
48
49
50
51
52
53
54
[tox]
envlist = lint,doc,py36,py35,stats
[testenv]
deps =
coverage
pytest
#pgpy>=0.4.1
#emailpgp
commands =
pytest
coverage run --rcfile={toxinidir}/.coveragerc --source=pyac \
-m pytest -vs {toxinidir}/tests
[testenv:doc]
deps =
sphinx
#pgpy>=0.4.1
sphinx-bootstrap-theme
whitelist_externals = make
changedir = docs
commands =
make html
[testenv:lint]
skip_install = True
#usedevelop = True
deps =
flake8
restructuredtext_lint
check-manifest
commands =
#check-manifest
rst-lint README.rst CHANGELOG.rst
flake8 --max-line-length 79 \
--exclude=tests/data,pyac/tests_data.py pyac tests
[testenv:stats]
skip_install = True
changedir={toxinidir}
deps =
coverage
# codecov
commands=
coverage combine
coverage report
coverage html
# only to run from travis
# codecov
# coveralls
[pytest]
addopts = -rsvvxX