From 8bc34bcc58f36499f3a35275551bfbe9f5be183d Mon Sep 17 00:00:00 2001 From: ShannonDing Date: Tue, 15 Mar 2022 11:46:13 +0800 Subject: [PATCH] fix code coverage --- .travis.yml | 2 +- pom.xml | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 693023b..2c65b9c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,6 +18,6 @@ before_install: script: - travis_retry mvn -B clean apache-rat:check - - travis_retry mvn -B clean install cobertura:cobertura + - travis_retry mvn -B clean install after_success: - bash <(curl -s https://codecov.io/bash) || echo 'Codecov failed to upload' diff --git a/pom.xml b/pom.xml index d506f2c..0bee298 100644 --- a/pom.xml +++ b/pom.xml @@ -54,6 +54,25 @@ + + org.jacoco + jacoco-maven-plugin + 0.8.7 + + + + prepare-agent + + + + report + test + + report + + + + org.springframework.boot spring-boot-maven-plugin