summaryrefslogtreecommitdiffstats
path: root/.codecov.yml
diff options
context:
space:
mode:
authorDaniel <dmoody256@gmail.com>2019-01-19 02:53:22 (GMT)
committerDaniel <dmoody256@gmail.com>2019-01-19 02:53:22 (GMT)
commit5f22d603fe483ec01764b43216b1908594608398 (patch)
tree08d416e2919b4d4f81ef4fb370b21c21e824301d /.codecov.yml
parentf3739c4f655b26b96e82945c07bc3c5d51edd2f8 (diff)
downloadSCons-5f22d603fe483ec01764b43216b1908594608398.zip
SCons-5f22d603fe483ec01764b43216b1908594608398.tar.gz
SCons-5f22d603fe483ec01764b43216b1908594608398.tar.bz2
switch to codecov and add new coverage for appveyor and travis
Diffstat (limited to '.codecov.yml')
-rw-r--r--.codecov.yml40
1 files changed, 40 insertions, 0 deletions
diff --git a/.codecov.yml b/.codecov.yml
new file mode 100644
index 0000000..9c51ceb
--- /dev/null
+++ b/.codecov.yml
@@ -0,0 +1,40 @@
+codecov:
+ notify:
+ # calculate coverge even when we fail
+ require_ci_to_pass: no
+
+ignore:
+ # ignore test files in the source
+ # this is redundent and should not be in the report anyways
+ # because the coveragerc file ignores them
+ - "*Test.py"
+ - "setup.py"
+ - "test_*"
+
+coverage:
+ precision: 2
+ round: down
+ range: "70...100"
+
+ status:
+ project:
+ default:
+ # compare against the current coverage
+ # that PR is attempt to merge to
+ # don't consider a drop in coverage success
+ target: auto
+ threshold: null
+ base: pr
+
+ patch:
+ default:
+ # considering only the lines changed
+ # make sure all new lines in the PR are covered
+ # to consider a success
+ target: 100
+ threshold: null
+ base: pr
+
+ changes: no
+
+comment: off