Xenial SonarCloud build-wrapper command not found

Hi,

Despite following the documentation, I could not manage to run SonarCloud on Travis. My repo is consists of C++ files. Here’s the error and the broken build:

build-wrapper-linux-x86-64: command not found

Travis build
Github repo

As the documentation suggests, I placed

addons:
  sonarcloud:
    organization: "emrsmsrli"
    token: "..."

But Travis doesn’t seem to find either build-wrapper, nor sonar-scanner executables.

Checking the config at https://config.travis-ci.com/explore shows that addons: sonarcloud: is not being inherited into the jobs because they have addons: clauses, too.

Oh thanks. I didn’t know about YAML inheritance.