-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
31 lines (26 loc) · 670 Bytes
/
tox.ini
File metadata and controls
31 lines (26 loc) · 670 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
[tox]
envlist = docs, packaging, pep8, py27, py32, py33, py34, py35
[testenv]
deps =
-rrequirements.txt
-rtests/requirements-test.txt
sitepackages = True
commands = py.test []
install_command = python -m pip install --pre {opts} {packages}
[testenv:docs]
deps = sphinx
skip_install = True
commands =
pip install -e .
sphinx-build -j4 -b html -d {envtmpdir}/doctrees docs docs/build/_html
[testenv:packaging]
skip_install = True
deps = check-manifest
commands = check-manifest
[testenv:pep8]
skip_install = True
deps = flake8
commands = flake8 .
[flake8]
exclude = .tox,*.egg,build,_vendor,data,versioneer.py,*_version.py,docs/conf.py
select = E,W,F