Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[run]
branch = True
source = hello

[report]
ignore_errors = True
exclude_lines =
pragma: no cover
def __repr__
if self\.debug
raise AssertionError
raise NotImplementedError
if 0:
if __name__ == .__main__.:
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ python:
- 3.3
- 3.4
install:
- pip install codecov
- pip install stuff
script:
- python -m tests.py
- coverage run -m tests.py
after_success: codecov
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ Hello world
=======

[![Build Status](https://secure.travis-ci.org/codecov/codecov-python.svg?branch=master)](http://travis-ci.org/codecov/codecov-python)
[![codecov.io](https://codecov.io/github/codecov-test/python-1/coverage.svg?branch=master)](https://codecov.io/github/codecov-test/python-1?branch=master)
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
===========
=========== .. image:: https://codecov.io/github/codecov-test/python-1/coverage.svg?branch=master :target: https://codecov.io/github/codecov-test/python-1?branch=master
Hello world
===========

Expand Down
2 changes: 1 addition & 1 deletion README.textile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
h2. Hello world
h2. Hello world !https://codecov.io/github/codecov-test/python-1/coverage.svg?branch=master(Coverage via codecov.io)!:https://codecov.io/github/codecov-test/python-1?branch=master

5 changes: 4 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ machine:

dependencies:
override:
- pip install codecov
- pip install stuff

test:
override:
- python -m tests
- coverage run -m tests
post:
- codecov