Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
s920243400
Rocketmq
提交
54967c31
R
Rocketmq
项目概览
s920243400
/
Rocketmq
与 Fork 源项目一致
Fork自
Apache RocketMQ / Rocketmq
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
Rocketmq
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
54967c31
编写于
1月 18, 2017
作者:
V
vongosling
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Polish coveralls,jacoco,sonar and travis-ci integration
上级
cc069a13
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
43 addition
and
17 deletion
+43
-17
.travis.yml
.travis.yml
+7
-10
pom.xml
pom.xml
+36
-7
未找到文件。
.travis.yml
浏览文件 @
54967c31
...
...
@@ -5,19 +5,17 @@ notifications:
on_success
:
change
on_failure
:
always
language
:
java
matrix
:
include
:
# On OSX, run with default JDK only.
-
language
:
java
-
os
:
osx
# On Linux, run with specific JDKs only.
-
language
:
java
-
os
:
linux
env
:
CUSTOM_JDK="oraclejdk8"
-
language
:
java
-
os
:
linux
env
:
CUSTOM_JDK="oraclejdk7"
-
language
:
java
-
os
:
linux
env
:
CUSTOM_JDK="openjdk7"
...
...
@@ -26,7 +24,7 @@ before_install:
-
cat ~/.mavenrc
-
if [ "$TRAVIS_OS_NAME" == "osx" ]; then export JAVA_HOME=$(/usr/libexec/java_home); fi
-
if [ "$TRAVIS_OS_NAME" == "linux" ]; then jdk_switcher use "$CUSTOM_JDK"; fi
#
#os:
# - linux
# - osx
...
...
@@ -36,9 +34,8 @@ before_install:
# - openjdk7
#script:
# - travis_retry mvn --batch-mode clean apache-rat:check
# - travis_wait 60 mvn --batch-mode clean package findbugs:check
script
:
-
travis_retry mvn -B clean apache-rat:check package jacoo:report coveralls:report
after_success
:
-
mvn
clean apache-rat:check cobertura:cobertura coveralls:report
-
mvn
sonar:sonar
pom.xml
浏览文件 @
54967c31
...
...
@@ -32,7 +32,7 @@
<artifactId>
rocketmq-all
</artifactId>
<version>
4.0.0-SNAPSHOT
</version>
<packaging>
pom
</packaging>
<name>
Apache RocketMQ
git s
${project.version}
</name>
<name>
Apache RocketMQ ${project.version}
</name>
<url>
http://rocketmq.incubator.apache.org/
</url>
<prerequisites>
...
...
@@ -152,6 +152,8 @@
<properties>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<project.reporting.outputEncoding>
UTF-8
</project.reporting.outputEncoding>
<!--maven properties -->
<maven.test.skip>
false
</maven.test.skip>
<maven.javadoc.skip>
true
</maven.javadoc.skip>
...
...
@@ -159,6 +161,14 @@
<maven.compiler.source>
1.7
</maven.compiler.source>
<maven.compiler.target>
1.7
</maven.compiler.target>
<!-- BEFORE SonarQube 4.4.0 - the destination file for the code coverage report has to be set to the same value
in the parent pom and in each module pom. Then JaCoCo will add up information in
the same report, so that, it will give the cross-module code coverage. -->
<sonar.java.coveragePlugin>
jacoco
</sonar.java.coveragePlugin>
<sonar.dynamicAnalysis>
reuseReports
</sonar.dynamicAnalysis>
<sonar.jacoco.reportPath>
${project.basedir}/../target/jacoco.exec
</sonar.jacoco.reportPath>
<sonar.jacoco.itReportPath>
${project.basedir}/../target/jacoco-it.exec
</sonar.jacoco.itReportPath>
<sonar.language>
java
</sonar.language>
<!-- URL of the ASF SonarQube server -->
<sonar.host.url>
https://builds.apache.org/analysis
</sonar.host.url>
<!-- Exclude all generated code -->
...
...
@@ -329,14 +339,33 @@
<version>
4.3.0
</version>
</plugin>
<plugin>
<groupId>
org.
codehaus.moj
o
</groupId>
<artifactId>
cobertura
-maven-plugin
</artifactId>
<version>
2.7
</version>
<groupId>
org.
jacoc
o
</groupId>
<artifactId>
jacoco
-maven-plugin
</artifactId>
<version>
0.7.6.201602180812
</version>
<configuration>
<format>
xml
</format>
<!-- aggregated reports for multi-module projects -->
<aggregate>
true
</aggregate>
<append>
true
</append>
</configuration>
<executions>
<execution>
<id>
agent-for-ut
</id>
<goals>
<goal>
prepare-agent
</goal>
</goals>
</execution>
<execution>
<id>
agent-for-it
</id>
<goals>
<goal>
prepare-agent-integration
</goal>
</goals>
</execution>
<execution>
<id>
report
</id>
<phase>
prepare-package
</phase>
<goals>
<goal>
report
</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.codehaus.mojo
</groupId>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录