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

https://github.com/sonarsource/sq-com_example_standard-sqscanner-travis

Standard SQ-Scanner-based project analyzed on SonarQube Cloud using Travis
https://github.com/sonarsource/sq-com_example_standard-sqscanner-travis

Last synced: 6 months ago
JSON representation

Standard SQ-Scanner-based project analyzed on SonarQube Cloud using Travis

Awesome Lists containing this project

README

          

# Standard SQ-Scanner-based project analyzed on SonarQube Cloud using Travis

[![Build status](https://travis-ci.org/SonarSource/sq-com_example_standard-sqscanner-travis.svg?branch=master)](https://travis-ci.org/SonarSource/sq-com_example_standard-sqscanner-travis) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=com.sonarqube.examples.standard-sqscanner-travis-project&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=com.sonarqube.examples.standard-sqscanner-travis-project)

#### This project is analysed on [SonarQube Cloud](https://www.sonarsource.com/products/sonarcloud/)!

It is very easy to run an analysis on a project and push it to SonarQube Cloud:

1. Create a `sonar-project.properties` files to store your configuration - like `sonar.projectKey` or `sonar.sources`
2. In your `.travis.yml` file:
1. Activate the [Travis Add-on](https://docs.travis-ci.com/user/sonarcloud/)
2. Run `sonar-scanner` at some point of time in the `script` section

You can take a look at the
[sonar-project.properties](https://github.com/SonarSource/sq-com_example_standard-sqscanner-travis/blob/master/sonar-project.properties)
and
[.travis.yml](https://github.com/SonarSource/sq-com_example_standard-sqscanner-travis/blob/master/.travis.yml)
files of this project to see it in practice.

### License

Copyright 2016-2024 SonarSource.

Licensed under the [GNU Lesser General Public License, Version 3.0](http://www.gnu.org/licenses/lgpl.txt)