提交 39401dd6 编写于 作者: Z zhuangjiaju

修改travis-ci

上级 5095f4fd
......@@ -2,4 +2,8 @@ language: java
jdk: oraclejdk8
before_install:
- chmod +x mvnw
script: "./mvnw install -B -V"
\ No newline at end of file
script:
- "./mvnw install -DskipTests=true -Dmaven.javadoc.skip=true -B -V"
- "./mvnw pmd:check -DskipTests=true -Dmaven.javadoc.skip=true -B -V"
- "./mvnw install -B -V"
......@@ -113,24 +113,6 @@
<ruleset>rulesets/java/ali-set.xml</ruleset>
</rulesets>
</configuration>
<executions>
<!-- 绑定pmd:check到verify生命周期 -->
<execution>
<id>pmd-check-verify</id>
<phase>validate</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
<!-- 绑定pmd:pmd到site生命周期 -->
<execution>
<id>pmd-pmd-site</id>
<phase>site</phase>
<goals>
<goal>pmd</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>com.alibaba.p3c</groupId>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册