forked from gawel/irc3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
44 lines (40 loc) · 772 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
[tox]
envlist = py27,py33,py34,py35,flake8,docs
[testenv]
skipsdist=true
skip_install=true
whitelist_externals=
rm
commands =
rm -f .coverage
pip install -e .[test]
coverage run {envbindir}/py.test -xv []
coverage report -m
deps =
coverage
pytest
[testenv:flake8]
skipsdist=true
skip_install=true
basepython = python3.4
commands =
flake8
deps =
flake8
[testenv:docs]
skip_install=false
skipsdist=true
basepython = python3.4
changedir = docs
deps = sphinx
commands =
rm -Rf {envtmpdir}/doctrees {envtmpdir}/html
sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv:build]
skip_install=false
skipsdist=true
basepython = python3.4
commands =
python -m irc3._parse_rfc
python -m irc3._gen_doc
deps =