An open API service indexing awesome lists of open source software.

https://github.com/codecov/example-scala-maven

Scala via Maven coverage example
https://github.com/codecov/example-scala-maven

Last synced: 9 months ago
JSON representation

Scala via Maven coverage example

Awesome Lists containing this project

README

          

# [Codecov](https://codecov.io) Scala Example
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcodecov%2Fexample-scala-maven.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fexample-scala-maven?ref=badge_shield)

## Guide

### Travis Setup

Add to your `.travis.yml` file.
```yml
language: java
after_success:
- bash <(curl -s https://codecov.io/bash)
```

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

### Produce Coverage Reports
#### Add Jacoco plugin
```xml

org.jacoco
jacoco-maven-plugin
0.5.8.201207111220



prepare-agent



report
test

report


```

## Caveats
### Private Repo
Repository tokens are required for (a) all private repos, (b) public repos not using Travis-CI, CircleCI or AppVeyor. Find your repository token at Codecov and provide via appending `-t ` to you where you upload reports.

## Links
- [Community Boards](https://community.codecov.io)
- [Support](https://codecov.io/support)
- [Documentation](https://docs.codecov.io)

## License
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcodecov%2Fexample-scala-maven.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fexample-scala-maven?ref=badge_large)