-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathtox.ini
More file actions
38 lines (33 loc) · 726 Bytes
/
Copy pathtox.ini
File metadata and controls
38 lines (33 loc) · 726 Bytes
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
[tox]
envlist = py27, py33
toxworkdir = {homedir}/.tox-mailbot
[testenv]
commands =
python setup.py develop
coverage run --branch --source=mailbot {envbindir}/unit2 discover mailbot.tests
coverage report -m --omit=mailbot/tests/*,mailbot/livetests/*
flake8 mailbot
deps =
mock
flake8
coverage
[testenv:py27]
basepython = python2.7
deps =
unittest2
{[testenv]deps}
[testenv:py33]
basepython = python3.3
deps =
unittest2py3k
{[testenv]deps}
[testenv:py27-live]
basepython = python2.7
commands =
python setup.py develop
unit2 discover mailbot.livetests
[testenv:py33-live]
basepython = python3.3
commands =
python setup.py develop
unit2 discover mailbot.livetests