Skip to content

bdwolfe/travis-ci-tutorial

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status

travis-ci-tutorial

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

How To Start

  1. Fork this Repository
  2. Make sure it is public (so we can get free CI!)
  3. Fix the README.md badges (replacing all the bdwolfe occurrences in the file with your-github-username) and push the changes.
  4. Go to Travis CI dot org (the .org is important!)
  5. Sign in with your GitHub account
  6. Under your profile settings, enable the repository
  7. Make another edit to the repository (e.g., edit README.md) and push the changes. This should trigger a build in Travis CI.

Code Coverage with Coveralls

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.

About

Just to learn how to use travis-ci in a java project!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%