Use codecov for coverage visualisation

master
jvoisin 5 years ago committed by GitHub
parent 80ccd8234e
commit 135886374a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .travis.yml
  2. 1
      README.md
  3. 1
      codecov.yml
  4. 19
      pom.xml

@ -22,6 +22,8 @@ matrix:
build_command: mvn -B -q clean package -DskipTests=true build_command: mvn -B -q clean package -DskipTests=true
branch_pattern: master branch_pattern: master
- jdk: openjdk8 - jdk: openjdk8
after_success:
- bash <(curl -s https://codecov.io/bash)
- jdk: oraclejdk9 - jdk: oraclejdk9
before_install: before_install:
# The OpenJDK9's CA bundle is outdated, so we're using the system's ones. # The OpenJDK9's CA bundle is outdated, so we're using the system's ones.

@ -8,6 +8,7 @@ Airsonic
[![Coverity scan](https://scan.coverity.com/projects/17971/badge.svg)](https://scan.coverity.com/projects/airsonic) [![Coverity scan](https://scan.coverity.com/projects/17971/badge.svg)](https://scan.coverity.com/projects/airsonic)
[![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/airsonic/airsonic.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/airsonic/airsonic/context:javascript) [![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/airsonic/airsonic.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/airsonic/airsonic/context:javascript)
[![Language grade: Java](https://img.shields.io/lgtm/grade/java/g/airsonic/airsonic.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/airsonic/airsonic/context:java) [![Language grade: Java](https://img.shields.io/lgtm/grade/java/g/airsonic/airsonic.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/airsonic/airsonic/context:java)
[![codecov.io coverage](https://codecov.io/gh/airsonic/airsonic/branch/master/graph/badge.svg)](https://codecov.io/gh/airsonic/airsonic)
What is Airsonic? What is Airsonic?
----------------- -----------------

@ -0,0 +1 @@
comment: false

@ -333,6 +333,25 @@
</pluginManagement> </pluginManagement>
<plugins> <plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.5</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>

Loading…
Cancel
Save