Skip to content

Commit

Permalink
Try getting coverage to wokr
Browse files Browse the repository at this point in the history
  • Loading branch information
andyhuynh3 committed May 6, 2019
1 parent aca89ec commit 5cc96e5
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
13 changes: 13 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[run]
branch = True
source = npyi

[report]
exclude_lines =
if self.debug:
pragma: no cover
raise NotImplementedError
if __name__ == .__main__.:
ignore_errors = True
omit =
tests/*
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
dist: xenial
language: python
cache: pip
env:
secure: WaRBjZX5ckwzbfNXWpbTwMfqD1W9WI5xDIpRm3yCjBbL4lsM+XaxJSyu7LcTZJp+jRFWD71GhPQIT4ZEb9f3wiVbKaDox0rEFsEZ7F2Kylud08sEYvVrmBZYp2CWQBf1qu/4usiVTft+b9RjDCzx/Fhw+4zbWce6vTuIE8zpi4CiF+D/Mu1E/3iASqtBYBvkhugbuwhk82Ve9PK1iKL1m8+9S+VNAgS0WKQxDbaDdVhilCnBM5H3VeaPIKxbc6W3HB01A7RMic6HeOP3GfpuXD65HQK/hRN/vUQkV8Oay3goCMasfMdC2pv/n3RgcIpV3kxGrflYT67hUduTV1qLcHFv/lPb97D4Jj2eTZd1EDEO/1e+ougrT7eGrt+aJ5sa4lprqVIuPhpLrnjo8I6p/dsqOemDGZZVaohIw6z/tuxfdsur625i2Koaso+GSKZeltw5AngUp7D0RmIOk+4tK60nzMXBouCrN6RlY+pktSK6U8oO6DUjSSrqc4H1FqDJDRdp37534oHdTENSujYPt5FznHPSpMQlSXGOywBjaw8XizVS4htDsrbmY3zRp/Z/tIOu+P1XAaRsncHMa8059byvfWwctE+exeDzx4Z6ZnUcwjs953/YkoqPf/4E/qa527iFS0henu9j3jdAqyN6zSTPcvXplYWfMM25gWBVWvE=
before_install:
- pip install -U tox
- pip install -U tox codecov
notifications:
on_success: change
on_failure: always
Expand All @@ -21,4 +19,5 @@ matrix:
- python: 3.6
env: TOXENV=flake8
script: tox
after_success: codecov
after_success:
- codecov
2 changes: 0 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@ envlist = flake8, py27, py34, py35, py36
deps =
requests
pytest
codecov
commands =
pytest
codecov

[testenv:flake8]
basepython = python3
Expand Down

0 comments on commit 5cc96e5

Please sign in to comment.