-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtox.ini
42 lines (36 loc) · 892 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
[tox]
envlist = py27-docs
[testenv]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements-dev.txt
commands=
{[testenv:flake8]commands}
{[testenv:pydocstyle]commands}
{[testenv:pylint]commands}
{[testenv:coverage]commands}
[testenv:flake8]
skip_install = true
commands=
flake8 physalia setup.py
[testenv:pylint]
commands =
py.test --ignore=venv --ignore=venv3 --ignore=samples --pylint --pylint-rcfile={toxinidir}/.pylintrc -m pylint
[testenv:pydocstyle]
skip_install = true
commands =
pydocstyle physalia
[testenv:unittest]
commands =
python -m unittest discover
[testenv:coverage]
commands =
py.test --cov-config .coveragerc --cov=physalia physalia
[testenv:docs]
skip_install = true
basepython=python
changedir=docs
deps=sphinx
commands=
sphinx-apidoc --separate -o . ../physalia