Skip to content

Instantly share code, notes, and snippets.

Codecov codecov-io

Block or report user

Report or block codecov-io

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View .travis.yml
after_success:
- bash <(curl -s https://codecov.io/bash)
View payload.json
{
"commitid": "c074a88f83ce23c9498755f1b95b2d9a07bf0cf2",
"ci": null,
"coverage": "50.0",
"timestamp": "2015-04-21 00:54:47.853879",
"build_url": null,
"default_branch": "master",
"private": false,
"repo": "example-java",
"owner": "codecov",
@codecov-io
codecov-io / comment.md
Created May 19, 2015
Example pull request comment
View comment.md

[Current coverage][1] is 57.89%

Merging develop into master will change coverage by +5.26% by [dd79892][1]

@@            master     develop   diff @@
==========================================
  Files            4           2     -2
  Stmts           19          19       
@codecov-io
codecov-io / codecov.json
Created Jun 3, 2015
Codecov JSON example
View codecov.json
{
"coverage": {
"path/to/file.py": [null, 1, 0, null, true, 0, 0, 1, 1],
"path/to/other.py": [null, 0, 1, 1, "1/3", null]
},
"messages": {
"path/to/other.py": {
"1": "custom message for line 1"
}
}
@codecov-io
codecov-io / upload.txt
Created Sep 1, 2015
Example output issue for file names not linning up
View upload.txt
.travis.yml
Example/AppDelegate.h
Example/AppDelegate.m
Example/Base.lproj/LaunchScreen.xib
Example/Base.lproj/Main.storyboard
Example/Images.xcassets/AppIcon.appiconset/Contents.json
Example/Info.plist
Example/MyAwesomeClass.h
Example/MyAwesomeClass.m
Example/main.m
View .coveragerc
[run]
branch = True
source = __YOUR_PROJECT_FOLDER__
[report]
exclude_lines =
if self.debug:
pragma: no cover
raise NotImplementedError
if __name__ == .__main__.:
You can’t perform that action at this time.