forked from fedora-infra/fedmsg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
55 lines (49 loc) · 960 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
51
52
53
54
55
[tox]
envlist = lint,py27,py34,py35,py36,m2crypto,docs
[testenv]
passenv = TRAVIS TRAVIS_* FEDMSG_NETWORK
extras =
commands
consumers
crypto_ng
deps =
-rtest-requirements.txt
sitepackages = False
whitelist_externals =
rm
commands =
rm -rf htmlcov coverage.xml
pytest -vv --cov-config .coveragerc --cov=fedmsg --cov-report term \
--cov-report xml --cov-report html {posargs}
[testenv:m2crypto]
basepython = python2
extras =
crypto
commands
consumers
[testenv:py27]
extras =
commands
consumers
crypto_ng
crypto
[testenv:docs]
changedir = doc
deps =
-rdoc/requirements.txt
whitelist_externals =
mkdir
rm
commands=
mkdir -p _static
rm -rf _build
sphinx-build -W -b html -d {envtmpdir}/doctrees . _build/html
[testenv:lint]
deps =
flake8 > 3.0
commands =
python -m flake8 {posargs}
[flake8]
show-source = True
max-line-length = 100
exclude = .git,.tox,dist,*egg