GithubHelp home page GithubHelp logo

joaomlneto / travis-ci-tutorial-java Goto Github PK

View Code? Open in Web Editor NEW
37.0 37.0 508.0 32 KB

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

License: MIT License

Java 100.00%
badge ci codecov continuous-integration coverage jacoco java java-template java-testing junit quickstart travis-ci travis-ci-configuration travis-ci-demo travis-ci-github travis-ci-tutorial travisci tutorial tutorial-code tutorials

travis-ci-tutorial-java's Introduction

Build Status Code Coverage

travis-ci-tutorial-java

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

This is a working minimal example of how to use Travis CI (and Codecov) with Java on GitHub.

  • It uses the JUnit testing framework

Click here for the example using GitHub Actions instead of Travis CI

How To Start

  1. Fork this Repository
  2. Go to Travis CI and enable the repository
  3. Fix the README.md badges (replacing in the URL joaomlneto with your-github-username) and push the changes. This should trigger a build in Travis CI!

Optional: Code Coverage with CodeCov

This repository also integrates with Codecov to generate reports.

What's done for you:

  • The JaCoCo plugin is included in pom.xml
  • On .travis.yml, after_success target executes the Codecov script.

If you want to use it:

If you don't want it:

  • Remove the JaCoCo plugin from the pom.xml.
  • Remove the after_success target in .travis.yml
  • Remove the badge from README.md

Contributing

Spotted a mistake? Questions? Suggestions?
Open an Issue!

travis-ci-tutorial-java's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

travis-ci-tutorial-java's Issues

Resources

Hello,

Could you be so kind as to write on how to test with resources (for example opening a file from the test-resources directory)?

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.