forked from twisted/klein
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
67 lines (56 loc) · 1.42 KB
/
tox.ini
File metadata and controls
67 lines (56 loc) · 1.42 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
[tox]
envlist =
{py26,py27,pypy}-{twcurrent,twtrunk,tw121,tw122,tw123,tw130,tw131,tw132,tw140,tw150},
pyflakes, docs, docs-linkcheck
###########################
# Default testenv
###########################
[testenv]
basepython =
py26: python2.6
py27: python2.7
pypy: pypy
deps =
coverage
mock
tw121: Twisted==12.1
tw122: Twisted==12.2
tw123: Twisted==12.3
tw130: Twisted==13.0
tw131: Twisted==13.1
tw132: Twisted==13.2
tw140: Twisted==14.0.2
tw150: Twisted==15.0
twcurrent: Twisted
twtrunk: git+git://github.com/twisted/twisted.git
commands =
{envpython} --version
trial --version
coverage run --source klein --omit klein/test/* --branch {envdir}/bin/trial klein
coverage report -m
###########################
# Run pyflakes
###########################
[testenv:pyflakes]
deps = pyflakes
basepython = python2.7
commands = pyflakes klein
###########################
# Run docs builder
###########################
[testenv:docs]
deps =
sphinx
sphinx_rtd_theme
basepython = python2.7
commands =
sphinx-build -b html -d {envtmpdir}/doctrees docs docs/_build/html
###########################
# Run docs linkcheck
###########################
[testenv:docs-linkcheck]
deps = {[testenv:docs]deps}
basepython = python2.7
commands =
sphinx-build -b html -d {envtmpdir}/doctrees docs docs/_build/html
sphinx-build -b linkcheck docs docs/_build/html