提交 e6d712a9 编写于 作者: T terrymanu

test travis

上级 c89e7ef5
......@@ -12,6 +12,7 @@ jdk:
before_script:
- echo "MAVEN_OPTS='-Xmx1024m -XX:MaxPermSize=256m'" > ~/.mavenrc
after_success:
- bash <(curl -s https://codecov.io/bash)
- mvn clean cobertura:cobertura coveralls:report
# - bash <(curl -s https://codecov.io/bash)
install: travis_wait 30 mvn install
......@@ -66,6 +66,7 @@
<maven-source-plugin.version>2.4</maven-source-plugin.version>
<maven-jxr-plugin.version>2.5</maven-jxr-plugin.version>
<lifecycle-mapping.version>1.0.0</lifecycle-mapping.version>
<coveralls-maven-plugin.version>4.3.0</coveralls-maven-plugin.version>
<cobertura-maven-plugin.version>2.7</cobertura-maven-plugin.version>
<jacoco.version>0.7.9</jacoco.version>
<findbugs-maven-plugin.version>3.0.2</findbugs-maven-plugin.version>
......@@ -526,19 +527,24 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>${coveralls-maven-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>${cobertura-maven-plugin.version}</version>
<configuration>
<check>
<branchRate>85</branchRate>
<lineRate>85</lineRate>
<haltOnFailure>true</haltOnFailure>
<totalBranchRate>85</totalBranchRate>
<totalLineRate>85</totalLineRate>
<packageLineRate>85</packageLineRate>
<packageBranchRate>85</packageBranchRate>
<!--<branchRate>85</branchRate>-->
<!--<lineRate>85</lineRate>-->
<!--<haltOnFailure>true</haltOnFailure>-->
<!--<totalBranchRate>85</totalBranchRate>-->
<!--<totalLineRate>85</totalLineRate>-->
<!--<packageLineRate>85</packageLineRate>-->
<!--<packageBranchRate>85</packageBranchRate>-->
</check>
<aggregate>true</aggregate>
<encoding>${project.build.sourceEncoding}</encoding>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册