Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

SonarSource/sonarcloud_example_cpp-cmake-linux-travis

Repository files navigation

This example project is stale and unsupported. It has been replaced by this example project.

C++ example project scanned on SonarCloud using Travis

Build statusQuality Gate Status

This project is analysed on SonarCloud!

It is very easy to run an analysis on a C/C++/Objective-C project and push it to SonarCloud:

  1. Create a sonar-project.properties files to store your configuration
  2. In your .travis.yml file:
    1. Activate the Travis Add-on
    2. Wrap your compilation with the Build Wrapper
    3. Run sonar-scanner later on

You can take a look at the sonar-project.properties and .travis.yml files of this project to see it in practice.

Links