Skip to content

Commit

Permalink
Merge pull request #1237 from dhermes/remove-bash-cover
Browse files Browse the repository at this point in the history
Removing cover.sh and folding into tox config.
  • Loading branch information
dhermes committed Nov 20, 2015
2 parents 58197c3 + 40d93bc commit d57220c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 29 deletions.
27 changes: 0 additions & 27 deletions scripts/cover.sh

This file was deleted.

13 changes: 11 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,29 @@ deps =
protobuf>=3.0.0a3
setenv =
PYTHONPATH = {toxinidir}/_testing
covercmd =
nosetests \
--ignore-files=run_system_test\.py \
--with-coverage \
--cover-package=gcloud \
--cover-erase \
--cover-tests \
--cover-branches \
--nocapture

[testenv:cover]
basepython =
python2.7
commands =
{toxinidir}/scripts/cover.sh --cover-min-percentage=100
{[testenv]covercmd} --cover-min-percentage=100
deps =
{[testenv]deps}
coverage

[testenv:coveralls]
basepython = {[testenv:cover]basepython}
commands =
{toxinidir}/scripts/cover.sh
{[testenv]covercmd}
coveralls
deps =
{[testenv:cover]deps}
Expand Down

0 comments on commit d57220c

Please sign in to comment.