From 492daf25dc31e02eddceb9acf42e0f94e2a2d734 Mon Sep 17 00:00:00 2001 From: zhuangjiaju Date: Thu, 4 Jul 2019 19:48:06 +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 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0a708466..5fd007d6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,13 @@ language: java jdk: oraclejdk8 +cache: + directories: + - $HOME/.m2 before_install: - chmod +x mvnw +install: + - ./mvnw install -DskipTests=true -Dmaven.javadoc.skip=true -Dgpg.skip -B -V script: - - "./mvnw install -DskipTests=true -Dmaven.javadoc.skip=true -Dgpg.skip -B -V" - - "./mvnw pmd:check -DskipTests=true -Dmaven.javadoc.skip=true -Dgpg.skip -B -V" - - "./mvnw install -Dgpg.skip -B -V" + - ./mvnw pmd:check -DskipTests=true -Dmaven.javadoc.skip=true -Dgpg.skip -B -V + - ./mvnw install -Dgpg.skip -B -V