https://github.com/sonarsource/sonarcloud_example_cpp-xcodebuild-macos-travis
https://github.com/sonarsource/sonarcloud_example_cpp-xcodebuild-macos-travis
cpp example sonarcloud
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sonarsource/sonarcloud_example_cpp-xcodebuild-macos-travis
- Owner: SonarSource
- License: lgpl-3.0
- Created: 2020-02-03T10:05:30.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2025-01-29T09:33:31.000Z (12 months ago)
- Last Synced: 2025-07-02T15:43:00.734Z (7 months ago)
- Topics: cpp, example, sonarcloud
- Language: C++
- Size: 21.5 KB
- Stars: 1
- Watchers: 22
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
This example project is stale and unsupported. It has been replaced by [this](https://github.com/sonarsource-cfamily-examples) example project.
# C++ example project scanned on SonarCloud using Travis
[](https://travis-ci.org/SonarSource/sonarcloud_example_cpp-xcodebuild-macos-travis)[](https://sonarcloud.io/dashboard?id=sonarcloud_example_cpp-xcodebuild-macos-travis)
#### This project is analysed on [SonarCloud](https://sonarcloud.io)!
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](https://docs.travis-ci.com/user/sonarcloud/)
2. Wrap your compilation with the Build Wrapper
3. Run `sonar-scanner` later on
You can take a look at the
[sonar-project.properties](https://github.com/SonarSource/sonarcloud_example_cpp-xcodebuild-macos-travis/blob/master/sonar-project.properties)
and
[.travis.yml](https://github.com/SonarSource/sonarcloud_example_cpp-xcodebuild-macos-travis/blob/master/.travis.yml)
files of this project to see it in practice.
## Links
- [Documentation of the C/C++/Objective-C plugin and its with Build Wrapper](http://docs.sonarqube.org/x/pwAv)
- [Documentation of the SonarCloud Travis Add-on](https://docs.travis-ci.com/user/sonarcloud/)