Just to learn how to use travis-ci in a java project! Modified from Joao Neto's tutorial
This is a working minimal example of how to use Travis CI (and Codecov) with Java on GitHub.
- It uses the JUnit testing framework
- Fork this Repository
- Make sure it is public (so we can get free CI!)
- Fix the
README.md
badges (replacing all thebdwolfe
occurrences in the file withyour-github-username
) and push the changes. - Go to Travis CI dot org (the .org is important!)
- Sign in with your GitHub account
- Under your profile settings, enable the repository
- Make another edit to the repository (e.g., edit
README.md
) and push the changes. This should trigger a build in Travis CI.
This repository also integrates with Coveralls to generate coverage reports.
- The JaCoCo and coveralls-maven-plugin are included in
pom.xml
- On
.travis.yml
,after_success
target sends the code report to Coveralls.