-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtox.ini
44 lines (38 loc) · 913 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 = docs, packaging, pep8, py27, py32, py34, py35, py36, py37, coverage
[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<=1.6.2
commands =
pip install -e .
sphinx-build -b html -d {envtmpdir}/doctrees docs docs/build/_html
pip uninstall mcpartools -y
[testenv:packaging]
skip_install = True
deps = check-manifest
commands = check-manifest
[testenv:pep8]
skip_install = True
deps = flake8
commands = flake8 .
[testenv:coverage]
passenv = CI TRAVIS TRAVIS_*
skip_install = True
deps =
-rrequirements.txt
-rtests/requirements-test.txt
codecov
commands =
pytest --cov .
codecov
[flake8]
exclude = .tox,*.egg,build,_vendor,data,versioneer.py,*_version.py,docs/conf.py
select = E,W,F
max-line-length = 120