This project is analysed on SonarCloud!
The build.sh script demonstrates how to run an analysis on a C++ project build. Note that for security reasons, the environment variable SONAR_TOKEN is defined in the environement through the CI. It should not be made public. Travis is used for demonstration purpose as any CI could be used to run the build.sh script.
You can take a look at the script buid.sh of this project to see it in practice.