Skip to content

Commit 3be152a

Browse files
committed
Run JaCoCo for Sonar, remove Travis and Coveralls
1 parent ada443b commit 3be152a

File tree

3 files changed

+2
-17
lines changed

3 files changed

+2
-17
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
env:
5050
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5151
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
52-
run: mvn verify -B -"Dgpg.skip" org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
52+
run: mvn -X -B -"Dgpg.skip" verify jacoco:report org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
5353

5454
release:
5555
if: github.ref == 'refs/heads/master'

.travis.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

pom.xml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
<sonar.organization>dnsjava</sonar.organization>
5353
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
5454
<sonar.java.source>8</sonar.java.source>
55+
<sonar.coverage.jacoco.xmlReportPaths>${project.build.directory}/site/jacoco/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
5556
</properties>
5657

5758
<build>
@@ -180,12 +181,6 @@
180181
</executions>
181182
</plugin>
182183

183-
<plugin>
184-
<groupId>org.eluder.coveralls</groupId>
185-
<artifactId>coveralls-maven-plugin</artifactId>
186-
<version>4.3.0</version>
187-
</plugin>
188-
189184
<plugin>
190185
<groupId>com.github.siom79.japicmp</groupId>
191186
<artifactId>japicmp-maven-plugin</artifactId>

0 commit comments

Comments
 (0)