forked from etsy/boundary-layer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
35 lines (31 loc) · 773 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
[tox]
envlist = py27, py3, lint
[testenv]
deps = pytest==3.8.1
pytest-cov==2.6.0
pytest-mock==1.10.0
pylint==1.9.3
pycodestyle==2.4.0
mock==2.0.0
extras =
github
commands =
pytest -vv test
[testenv:py27]
commands =
pytest -vv \
--cov-config=tox.ini \
--cov=boundary_layer \
--cov=boundary_layer_default_plugin \
--cov-report=term-missing \
--cov-report=xml \
test
[testenv:lint]
commands =
pycodestyle boundary_layer boundary_layer_default_plugin bin/boundary-layer test
pylint --rcfile=.pylintrc boundary_layer boundary_layer_default_plugin bin/boundary-layer
pylint --rcfile=.pylintrc.test test
[coverage:run]
source =
{envsitepackagesdir}/*
branch = true