Skip to content

Commit d57220c

Browse files
committed
Merge pull request #1237 from dhermes/remove-bash-cover
Removing cover.sh and folding into tox config.
2 parents 58197c3 + 40d93bc commit d57220c

File tree

2 files changed

+11
-29
lines changed

2 files changed

+11
-29
lines changed

scripts/cover.sh

Lines changed: 0 additions & 27 deletions
This file was deleted.

tox.ini

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,29 @@ deps =
1313
protobuf>=3.0.0a3
1414
setenv =
1515
PYTHONPATH = {toxinidir}/_testing
16+
covercmd =
17+
nosetests \
18+
--ignore-files=run_system_test\.py \
19+
--with-coverage \
20+
--cover-package=gcloud \
21+
--cover-erase \
22+
--cover-tests \
23+
--cover-branches \
24+
--nocapture
1625

1726
[testenv:cover]
1827
basepython =
1928
python2.7
2029
commands =
21-
{toxinidir}/scripts/cover.sh --cover-min-percentage=100
30+
{[testenv]covercmd} --cover-min-percentage=100
2231
deps =
2332
{[testenv]deps}
2433
coverage
2534

2635
[testenv:coveralls]
2736
basepython = {[testenv:cover]basepython}
2837
commands =
29-
{toxinidir}/scripts/cover.sh
38+
{[testenv]covercmd}
3039
coveralls
3140
deps =
3241
{[testenv:cover]deps}

0 commit comments

Comments
 (0)