Kotlin coverage example
Kotlin
Latest commit b335e2b Apr 21, 2015 @stevepeak stevepeak new bash method
Permalink
Failed to load latest commit information.
src initial commit Sep 28, 2014
.travis.yml new bash method Apr 21, 2015
README.md new bash method Apr 21, 2015
pom.xml updates Sep 28, 2014

README.md

Codecov Kotlin Example

https://codecov.io @codecov hello@codecov.io

This repository serves as an example on how to use Codecov Global for Kotlin.

Usage

Add Jacoco plugin

<plugin>
  <groupId>org.jacoco</groupId>
  <artifactId>jacoco-maven-plugin</artifactId>
  <version>0.5.8.201207111220</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>

Travis CI

Add to your .travis.yml file.

language: groovy

after_success:
  - bash <(curl -s https://codecov.io/bash)

All other CI you can simply run bash <(curl -s https://codecov.io/bash).

Private Repos

Add to your .travis.yml file.

env:
  global:
    - CODECOV_TOKEN=:uuid-repo-token

after_success:
  - bash <(curl -s https://codecov.io/bash)

View source and learn more about Codecov Global Uploader