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
- Host: GitHub
- URL: https://github.com/codecov/example-scala-maven
- Owner: codecov
- License: mit
- Created: 2014-09-28T20:42:41.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-01-22T20:34:11.000Z (almost 2 years ago)
- Last Synced: 2025-04-11T15:10:25.242Z (9 months ago)
- Language: Scala
- Homepage: https://codecov.io
- Size: 10.7 KB
- Stars: 3
- Watchers: 11
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# [Codecov](https://codecov.io) Scala Example
[](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
[](https://app.fossa.com/projects/git%2Bgithub.com%2Fcodecov%2Fexample-scala-maven?ref=badge_large)