Continuous Integration: Java Spring Boot project with Travis

Travis CI dashboard with branches with builds passings tests
  1. Go to and login with GitHub/GitLab account.
  • language: java
  • jdk: we’re using oraclejdk11
  • script: the command we want to run
  • before_install: the maven wrapper must be executed in the Travis environment, so we need to update the permissions before the script runs
My public Travis-CI
  • Click on the badge next to the project in
  • Select the branch, “Markdown” format, copy the result and paste on the
Badge image markdown format
Travis build badge at



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Miguel Martínez Serrano

Miguel Martínez Serrano


Software Engineer | University of Oviedo | Video post-production | Music production | Social Media