-
Notifications
You must be signed in to change notification settings - Fork 6
/
tox.ini
82 lines (69 loc) · 1.12 KB
/
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
[tox]
envlist=py26,py27,py32,py33,py34,py35,hg35,hg36,hg41
[testenv]
deps=
nose
passenv=
TRAVIS*
commands=
nosetests
flake8 src tests
[testenv:py2_common]
deps=
{[testenv]deps}
six
flake8
mercurial
[testenv:py3_common]
deps=
{[testenv]deps}
six
mock
flake8
[testenv:py26]
deps=
{[testenv:py2_common]deps}
mock < 1.1.0
unittest2
commands=
nosetests
[testenv:py27]
deps=
{[testenv:py2_common]deps}
mock
[testenv:py32]
deps=
{[testenv:py3_common]deps}
[testenv:py33]
deps=
{[testenv:py3_common]deps}
[testenv:py34]
deps=
{[testenv:py3_common]deps}
[testenv:py35]
deps=
{[testenv:py3_common]deps}
[testenv:hg35]
basepython= python2.7
deps=
{[testenv:py3_common]deps}
mercurial<3.6
[testenv:hg36]
basepython= python2.7
deps=
{[testenv:py3_common]deps}
mercurial<3.7
[testenv:hg41]
basepython= python2.7
deps=
{[testenv:py3_common]deps}
mercurial<4.2
[testenv:coverage]
basepython= python2.7
deps=
{[testenv:py27]deps}
coverage
coveralls
commands=
nosetests --with-coverage --cover-package=highlights
coveralls