Skip to content

Commit

Permalink
Merge pull request #940 from dhermes/fix-939
Browse files Browse the repository at this point in the history
Removing cover-min-percentage=100 from coveralls.
  • Loading branch information
dhermes committed Jun 23, 2015
2 parents f2561e7 + bc97ee7 commit 8622fa0
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
20 changes: 20 additions & 0 deletions scripts/cover.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/bash

# Copyright 2015 Google Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

set -ev

nosetests --with-xunit --with-xcoverage --cover-package=gcloud \
--nocapture --cover-erase --cover-tests --cover-branches ${@}
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ deps =
basepython =
python2.7
commands =
nosetests --with-xunit --with-xcoverage --cover-package=gcloud --nocapture --cover-erase --cover-tests --cover-branches --cover-min-percentage=100
{toxinidir}/scripts/cover.sh --cover-min-percentage=100
deps =
{[testenv]deps}
coverage
Expand All @@ -25,7 +25,7 @@ deps =
[testenv:coveralls]
basepython = {[testenv:cover]basepython}
commands =
{[testenv:cover]commands}
{toxinidir}/scripts/cover.sh
coveralls
deps =
{[testenv:cover]deps}
Expand Down

0 comments on commit 8622fa0

Please sign in to comment.