File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 11language : java
2+ sudo : false # faster builds
23jdk :
34 - openjdk8
5+ - openjdk11
46node_js : " 10"
57cache :
68 directories :
79 - $HOME/.m2
810 - $HOME/.npm
911 - node_modules
1012before_script :
11- - npm install codecov --save-dev
1213 - npm install
13- script : true
14+ # see details https://github.com/codecov/example-java-maven
15+ script :
16+ - mvn cobertura:cobertura
17+
1418install : travis_wait 30 ./mvnw clean install -Dmaven.javadoc.skip=true -Dgpg.skip=true -DskipNpmBuild=true -Dmaven.test.skip=true
19+ # report to codecov
1520after_success :
1621 - bash <(curl -s https://codecov.io/bash)
1722notifications :
Original file line number Diff line number Diff line change 2424 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
2525 <maven .compiler.encoding>UTF-8</maven .compiler.encoding>
2626 <flatten-maven-plugin .version>1.2.3</flatten-maven-plugin .version>
27+ <cobertura-maven-plugin .version>2.7</cobertura-maven-plugin .version>
2728 </properties >
2829 <description >
2930 ApiBoot是一款基于SpringBoot1.x、2.x的接口服务集成基础框架,
6869 </execution >
6970 </executions >
7071 </plugin >
72+ <plugin >
73+ <groupId >org.codehaus.mojo</groupId >
74+ <artifactId >cobertura-maven-plugin</artifactId >
75+ <version >${cobertura-maven-plugin.version} </version >
76+ <configuration >
77+ <formats >
78+ <format >html</format >
79+ <format >xml</format >
80+ </formats >
81+ <check />
82+ </configuration >
83+ </plugin >
7184 </plugins >
7285 </build >
7386 <repositories >
You can’t perform that action at this time.
0 commit comments