Skip to content

Commit

Permalink
Test codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
brechtm committed Aug 25, 2016
1 parent 23626fc commit b91e67d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[run]
branch = True
source = rinoh

[paths]
source =
src/rinoh
.tox/*/lib/python*/site-packages/rinoh
.tox/pypy*/site-packages/rinoh
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ script:
- function installpkg { [[ $DIST == "wheel" ]] && echo "--installpkg ./dist/rinohtype-*.whl"; }
- $(timeout) tox -v $(installpkg)

after_success:
- bash <(curl -s https://codecov.io/bash)

notifications:
webhooks:
urls:
Expand Down
2 changes: 1 addition & 1 deletion run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
set -e # exit as soon as one command returns a non-zero exit code

if [[ $WITH_COVERAGE -eq 1 ]]; then
COVERAGE_ARGS="--cov=rinoh --cov-report="
COVERAGE_ARGS="--cov=rinoh"
else
COVERAGE_ARGS=
fi
Expand Down

0 comments on commit b91e67d

Please sign in to comment.