Skip to content

Commit

Permalink
ADD codecov.io config file, MODIFY uploading to codecov.io
Browse files Browse the repository at this point in the history
  • Loading branch information
botisko committed Feb 1, 2020
1 parent d375e19 commit 7b80fb4
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ install:
script:
- coverage run tests/test_package_tracking.py

# Push the results back to codecov
after_success:
- codecov --token=ac82f897-9b59-421b-a090-aec30275be70
# Upload to codecov.io
script:
- bash <(curl -s https://codecov.io/bash)
22 changes: 22 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
codecov:
token: "ac82f897-9b59-421b-a090-aec30275be70"
require_ci_to_pass: yes

coverage:
precision: 2
round: down
range: "70...100"

parsers:
gcov:
branch_detection:
conditional: yes
loop: yes
method: no
macro: no

comment:
layout: "reach,diff,flags,tree"
behavior: default
require_changes: no

0 comments on commit 7b80fb4

Please sign in to comment.