An open API service indexing awesome lists of open source software.

https://github.com/sonarsource/sq-com_example_java-maven-travis

Java Maven-based project analyzed on SonarQube Cloud using Travis
https://github.com/sonarsource/sq-com_example_java-maven-travis

Last synced: 5 months ago
JSON representation

Java Maven-based project analyzed on SonarQube Cloud using Travis

Awesome Lists containing this project

README

          

# Java Maven-based project analyzed on SonarQube Cloud using Travis

[![Build status](https://travis-ci.org/SonarSource/sq-com_example_java-maven-travis.svg?branch=master)](https://travis-ci.org/SonarSource/sq-com_example_java-maven-travis) [![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=com.sonarqube.examples%3Ajava-maven-travis-project&metric=alert_status)](https://sonarcloud.io/dashboard/index/com.sonarqube.examples:java-maven-travis-project)

#### This project is analysed on [SonarQube Cloud](https://sonarcloud.io/dashboard/index/com.sonarqube.examples:java-maven-travis-project)!

It is very easy to run an analysis on a Maven-based project and push it to SonarQube Cloud.
You simply have to do 2 things in your `.travis.yml` file:

- Activate the [Travis Add-on](https://docs.travis-ci.com/user/sonarcloud/)
- Run `mvn sonar:sonar` at some point of time in the `script` section

You can take a look at the [.travis.yml file](https://github.com/SonarSource/sq-com_example_java-maven-travis/blob/master/.travis.yml)
of this project to see it in practice.