Skip to content

Commit

Permalink
新增codecov.yml文件
Browse files Browse the repository at this point in the history
  • Loading branch information
hengboy committed Jun 22, 2020
1 parent 2489072 commit e3b7035
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ cache:
before_script:
- npm install
script: true
install: travis_wait 30 mvn clean install -Dmaven.javadoc.skip=true -Dgpg.skip=true -DskipNpmBuild=true -Dmaven.test.skip=true
install: travis_wait 30 ./mvnw clean install -Dmaven.javadoc.skip=true -Dgpg.skip=true -DskipNpmBuild=true -Dmaven.test.skip=true
after_success:
- bash <(curl -s https://codecov.io/bash)
notifications:
Expand Down
22 changes: 22 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
codecov:
require_ci_to_pass: yes
coverage:
status:
patch: no
project:
default:
threshold: 1%
if_not_found: success
changes: no
precision: 2
range: "50...100"
ignore:
- "test/.*"
- ".github/.*"
- ".mvn/.*"
- ".style/.*"
- "*.md"
comment:
layout: "reach,diff,flags,tree"
behavior: default
require_changes: no

0 comments on commit e3b7035

Please sign in to comment.