Skip to content

Commit b950f8f

Browse files
committed
Incorporating core package into umbrella coverage.
Also updating Travis config to incorporate core package.
1 parent 86349dd commit b950f8f

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

.coveragerc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ omit =
66
*/_generated/*.py
77
# Packages in the "google.cloud" package that we don't own.
88
*/google/cloud/gapic/*
9-
fail_under = 100
10-
show_missing = True
119
exclude_lines =
1210
# Re-enable the standard pragma
1311
pragma: NO COVER

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@ install:
66

77
script:
88
- tox -e py27
9+
- (cd core && tox -e py27)
910
- tox -e py34
11+
- (cd core && tox -e py34)
1012
- tox -e lint
1113
- tox -e cover
14+
- (cd core && tox -e cover)
1215
- tox -e system-tests
1316
- tox -e system-tests3
1417
- scripts/update_docs.sh

tox.ini

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ covercmd =
1212
--cov=unit_tests \
1313
--cov-config {toxinidir}/.coveragerc \
1414
unit_tests
15+
py.test --quiet \
16+
--cov=google.cloud \
17+
--cov=unit_tests \
18+
--cov-append \
19+
--cov-config {toxinidir}/.coveragerc \
20+
core/unit_tests
21+
coverage report --show-missing --fail-under=100
1522

1623
[testenv]
1724
commands =

0 commit comments

Comments
 (0)