Hi,
I would like to know how to install sonar-scanner in Travis CI. I’m using sonarqube. As far as I know there is an sonarCloud add-on in Travis but there is no sonarqube add. I would like to install sonar-scanner cli command line tool from the scratch
I tried the following configuration but I got a sonar-scanner: command not found
- name: sonarqube
language: java
before_install:- wget https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-3.3.0.1492-linux.zip
- unzip sonar-scanner-cli-3.3.0.1492-linux.zip
- export PATH=$(pwd)/sonar-scanner-cli-3.3.0.1492-linux/bin:$PATH
script: - sonar-scanner -Dsonar.projectKey=$SONARQUBE_PROJECT_KEY -Dsonar.sources=. -Dsonar.host.url=$SONARQUBE_URL -Dsonar.login=$SONARQUBE_LOGIN