forked from fusionapp/txdocumint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
41 lines (37 loc) · 910 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
[tox]
envlist = coverage-clean,{py27,pypy}-{twlatest,twtrunk,twlowest},flake8,coverage-report
[testenv]
setenv =
PYTHONWARNINGS = default::DeprecationWarning
whitelist_externals =
mkdir
deps =
.[test]
twlatest: Twisted[tls]
twtrunk: https://github.com/twisted/twisted/archive/trunk.zip#egg=Twisted[tls]
twlowest: Twisted[tls]==15.5.0
coverage
commands =
pip list
mkdir -p {envtmpdir}
coverage run --parallel-mode \
{envdir}/bin/trial --temp-directory={envtmpdir}/_trial_temp {posargs:txdocumint}
[testenv:flake8]
basepython = python2.7
deps =
flake8
pep8-naming
readme_renderer
commands =
flake8 src setup.py
python setup.py check -r -s
[testenv:coverage-clean]
deps = coverage
skip_install = true
commands = coverage erase
[testenv:coverage-report]
deps = coverage
skip_install = true
commands =
coverage combine
coverage report