forked from googleapis/google-cloud-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
38 lines (35 loc) · 676 Bytes
/
tox.ini
File metadata and controls
38 lines (35 loc) · 676 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
32
33
34
35
36
37
38
[tox]
envlist =
py27,py34,py35,cover
[testing]
localdeps =
pip install --quiet --upgrade \
{toxinidir}/../core \
{toxinidir}/../logging
deps =
{toxinidir}/../core
{toxinidir}/../logging
mock
pytest
covercmd =
py.test --quiet \
--cov=google.cloud.error-reporting \
--cov=unit_tests \
--cov-config {toxinidir}/.coveragerc \
unit_tests
[testenv]
commands =
{[testing]localdeps}
py.test --quiet {posargs} unit_tests
deps =
{[testing]deps}
[testenv:cover]
basepython =
python2.7
commands =
{[testing]localdeps}
{[testing]covercmd}
deps =
{[testenv]deps}
coverage
pytest-cov