From b35a30005a2d387e54420df0acaf3207649fed59 Mon Sep 17 00:00:00 2001 From: davinkevin Date: Sun, 4 Aug 2019 19:39:13 +0200 Subject: [PATCH] chore(coverage): migrate to codecov instead of coveralls.io The bug inside https://github.com/trautonen/coveralls-maven-plugin/issues/102 prevent me from using coveralls.io --- .gitlab-ci.yml | 2 +- backend/pom.xml | 22 +++++++--------------- 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 887d8d5ee..b6a6208e8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -53,7 +53,7 @@ stages: image: openjdk:8 script: - ./mvnw $MAVEN_CLI_OPTS -f backend/pom.xml liquibase:dropAll liquibase:update jooq-codegen:generate test -Ddatabase.url=jdbc:h2:/tmp/podcast-server jacoco:report - - ./mvnw $MAVEN_CLI_OPTS -f backend/pom.xml coveralls:report -DrepoToken=$COVERALLS_TOKEN + - bash <(curl -s https://codecov.io/bash) -t $CODECOV_TOKEN cache: key: "$CI_PIPELINE_ID-backend" policy: pull diff --git a/backend/pom.xml b/backend/pom.xml index 4915a430a..40fac75a4 100755 --- a/backend/pom.xml +++ b/backend/pom.xml @@ -476,21 +476,6 @@ ${project.basedir}/../.git - - - org.eluder.coveralls - coveralls-maven-plugin - 4.3.0 - - - src/main/kotlin - src/main/java - target/generated-sources/jooq - target/generated-sources/kapt/compile - target/classes - - - org.jacoco @@ -510,6 +495,13 @@ prepare-agent + + report + test + + report + +