-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtox.ini
40 lines (35 loc) · 788 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
#
# corkscrew/tox.ini
#
[tox]
envlist = py27
# declare global pytest options. yes, it DOES always respect
# tox.ini even when pytest is invoked directly and tox is not
# invoked
[pytest]
addopts= --capture=no
[testenv]
deps=
-r{toxinidir}/tests/requirements.txt
commands=
python setup.py develop
py.test --cov-config {toxinidir}/.coveragerc \
--cov=corkscrew --cov-report=term -v \
--pyargs {toxinidir}/tests
setenv=
FOO=BAR
[testenv:pep]
commands = pep8 --repeat {toxinidir}/corkscrew
deps =
pep8
[testenv:pyflakes]
commands = pyflakes {toxinidir}/corkscrew
deps =
pyflakes
[testenv:docs]
basepython=python
changedir=docs/source
deps =
sphinx
commands =
sphinx-build -a -b html -d {envtmpdir}/doctrees . {envdir}/build/html