From 4829b1df53923f1c6b1faaa27d47292fcf7a2bf9 Mon Sep 17 00:00:00 2001 From: zhuangjiaju Date: Thu, 4 Jul 2019 19:53:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9travis-ci?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .travis.yml | 3 +-- pom.xml | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5fd007d6..e6018a3c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,8 +6,7 @@ cache: before_install: - chmod +x mvnw install: - - ./mvnw install -DskipTests=true -Dmaven.javadoc.skip=true -Dgpg.skip -B -V + - ./mvnw install -DskipTests=true -Dmaven.javadoc.skip=true -Dgpg.skip -Dpmd.skip=true -B -V script: - - ./mvnw pmd:check -DskipTests=true -Dmaven.javadoc.skip=true -Dgpg.skip -B -V - ./mvnw install -Dgpg.skip -B -V diff --git a/pom.xml b/pom.xml index 5335637f..84af219e 100644 --- a/pom.xml +++ b/pom.xml @@ -113,6 +113,24 @@ rulesets/java/ali-set.xml + + + + pmd-check-verify + validate + + check + + + + + pmd-pmd-site + site + + pmd + + + com.alibaba.p3c