-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
50 lines (42 loc) · 976 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
[tox]
envlist =
docs,packaging,pep8,py3pep8,py26,py27,py32,py33,py34,pypy
[testenv]
deps =
https://github.com/spulec/freezegun/archive/master.zip#egg=freezegun
pretend
pytest
pytest-capturelog
pytest-cov
pytest-timeout
pytest-xdist
mock
scripttest>=1.3
https://github.com/pypa/virtualenv/archive/develop.zip#egg=virtualenv
commands =
py.test --timeout 300 []
install_command =
python -m pip install --pre {opts} {packages}
[testenv:py26]
install_command =
pip install --pre {opts} {packages}
[testenv:docs]
deps = sphinx
basepython = python2.7
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
[testenv:packaging]
deps = check-manifest
commands =
check-manifest
[testenv:pep8]
basepython = python2.7
deps = flake8
commands = flake8 .
[testenv:py3pep8]
basepython = python3.3
deps = flake8
commands = flake8 .
[flake8]
exclude = .tox,*.egg,build,_vendor,data
select = E,W,F