Continuous Integration: Java Spring Boot project with Travis

Travis CI dashboard with branches with builds passings tests
  1. Go to https://travis-ci.com/ 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 https://travis-ci.com/github/miguelms95
  • Click on the badge next to the project in https://www.travis-ci.com/
  • Select the branch, “Markdown” format, copy the result and paste on the Readme.md
Badge image markdown format
Travis build badge at Readme.md

--

--

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

5 Followers

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