Skip to content

Commit e3b7035

Browse files
committed
新增codecov.yml文件
1 parent 2489072 commit e3b7035

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ cache:
1010
before_script:
1111
- npm install
1212
script: true
13-
install: travis_wait 30 mvn clean install -Dmaven.javadoc.skip=true -Dgpg.skip=true -DskipNpmBuild=true -Dmaven.test.skip=true
13+
install: travis_wait 30 ./mvnw clean install -Dmaven.javadoc.skip=true -Dgpg.skip=true -DskipNpmBuild=true -Dmaven.test.skip=true
1414
after_success:
1515
- bash <(curl -s https://codecov.io/bash)
1616
notifications:

codecov.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
codecov:
2+
require_ci_to_pass: yes
3+
coverage:
4+
status:
5+
patch: no
6+
project:
7+
default:
8+
threshold: 1%
9+
if_not_found: success
10+
changes: no
11+
precision: 2
12+
range: "50...100"
13+
ignore:
14+
- "test/.*"
15+
- ".github/.*"
16+
- ".mvn/.*"
17+
- ".style/.*"
18+
- "*.md"
19+
comment:
20+
layout: "reach,diff,flags,tree"
21+
behavior: default
22+
require_changes: no

0 commit comments

Comments
 (0)