forked from thegrymek/python-disk-collections
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
55 lines (48 loc) · 782 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
51
52
53
54
55
[tox]
usedevelop = True
envlist =
lint,
py27, py34, py35, py36
[testenv]
deps =
pytest
pytest-cov
commands = py.test -v \
--cov {envsitepackagesdir}/diskcollections \
--cov-config .coveragerc \
--cov-report term-missing \
--cov-fail-under 95 \
{posargs}
passenv =
TRAVIS
TRAVIS_BRANCH
TRAVIS_JOB_ID
[testenv:lint]
skipsdist = True
skip_install = True
deps =
flake8
readme_renderer
commands =
flake8
python setup.py check -r -s -m
[testenv:build]
skip_install = true
deps =
wheel
setuptools
commands =
python setup.py -q sdist bdist_wheel
[flake8]
select = E,F,W
exclude =
.tox,
.git,
__pycache__,
build,
dist,
*.pyc,
*.egg-info,
.cache,
.eggs
max-complexity = 2