Skip to content

Commit

Permalink
Incorporating core package into umbrella coverage.
Browse files Browse the repository at this point in the history
Also updating Travis config to incorporate core package.
  • Loading branch information
dhermes committed Sep 23, 2016
1 parent ed2dc92 commit 8643a91
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ omit =
*/_generated/*.py
# Packages in the "google.cloud" package that we don't own.
*/google/cloud/gapic/*
fail_under = 100
show_missing = True
exclude_lines =
# Re-enable the standard pragma
pragma: NO COVER
Expand Down
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ install:

script:
- tox -e py27
- (cd core && tox -e py27)
- tox -e py34
- (cd core && tox -e py34)
- tox -e lint
- tox -e cover
- (cd core && tox -e cover)
- tox -e system-tests
- tox -e system-tests3
- scripts/update_docs.sh
Expand Down
7 changes: 7 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ covercmd =
--cov=unit_tests \
--cov-config {toxinidir}/.coveragerc \
unit_tests
py.test --quiet \
--cov=google.cloud \
--cov=unit_tests \
--cov-append \
--cov-config {toxinidir}/.coveragerc \
core/unit_tests
coverage report --show-missing --fail-under=100

[testenv]
commands =
Expand Down

0 comments on commit 8643a91

Please sign in to comment.