Continuous Integration with Travis-CI

To see if the Java project compiles correct and that all (unit) tests are running successfully, the git project is added to Travis-CI an Continuous Integration / Continuous Delivery service.

Action Plan

  • Create the Travis-CI configuration file .travis.yml

Oracle Java 1.7 Project

file .travis.yml

language: java

Oracle Java 1.8 Project

file .travis.yml

language: java
 
jdk:
  - oraclejdk8
 
addons:
  apt:
    packages:
      - oracle-java8-installer
  • Add, Commit and Push the configuration file to GitHub repository _config.yml
  • Open your account on https://travis-ci.org with your GitHub identity
  • Add the GitHub repository to the Travis-CI dashboard
  • Add the build status of Travis-CI as an link to the projects README.md
Written on May 20, 2016