forked from tox-dev/tox-travis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
50 lines (42 loc) · 953 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
[tox]
envlist = py26, py27, py32, py33, py34, py35, py36, pypy, pypy3, docs, desc
[testenv]
# mock is required to allow mock_use_standalone_module
# Coverage doesn't work on PyPy or Python 3.2
deps =
pytest
pytest-mock
mock
py{26,27,33,34,35,36}: coverage_pth
setenv =
COVERAGE_PROCESS_START=.coveragerc
commands = {posargs:py.test}
[testenv:docs]
changedir = docs
deps =
sphinx
sphinx_rtd_theme
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv:desc]
deps =
docutils
Pygments
commands =
python setup.py check --restructuredtext --strict
[travis:after]
toxenv = py36
[flake8]
ignore = D203
[pytest]
# Required to allow the use of pytest-mock on Python 3.2,
# because unittest.mock doesn't exist on Python 3.2.
mock_use_standalone_module = true
[coverage:run]
branch = True
source = tox_travis
parallel = True
[coverage:paths]
source =
src
*/site-packages