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

--

--

--

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

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Switching from Android to iOS development

ALPHA TEST 2.0 — HOW TO PLAY MYTHERIA (PART 4)

🎯 Dart (DartLang) Introduction: while and do-while loops

Developing a Google Assistant app with NodeJs, Dialogflow & Firebase Functions

Marc G Tan translates coding into an understandable language for non-engineering subjects

I: ActiveQm

Touch, Hall Effect, and Temperature Inbuilt Sensors in ESP32

Welcome Jeevan Farias

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

More from Medium

What is SPRING BOOT ?

Why Choose Spring Boot?

Marshaling and Unmarshaling XML using JAXB

Unit Testing Apache Camel