I tried to integrate SonarCloud addon on my build, and find that SonarCloud addon is not enabled in PR situation.
I just figured it out, i didn’t use encrypt env var so
TRAVIS_SECURE_ENV_VARS is false.
I fix the script but another problem happens, I got a error:
You’re not authorized to run analysis. Please contact the project administrator.
The build job is here
I figured it out, this is the issue on SonarCloud auth config.