Open clarkindy opened 3 years ago
It is up to you how to configure SonarCloud analysis. You can either choose CI analysis or auto analysis supported by SonarCloud.
CI analysis
Follow the example config in our practice session.
In addition, you have to disable Automatic Analysis
in your team settings to leverage CI analysis.
Automatic Analysis Enable Automatic Analysis in your settings and remove add-on configs from travis.yml.
Please try either one and let me know if you have any difficulties.
Disabling Automatic Analysis worked. Thank you!
After adopting Travis CI, our project build failed with the following message:
It seems that we are not supposed to both enable automatic analysis in SonarCloud and run
sonar-scanner
in Travis CI, according to the above message. Is it the case that "SonarCloud as an add-on of Travis CI" section of our practice session was just for reference and we should not actually implement it in our projects?