fix sonarcloud integration

This commit is contained in:
arvidn 2019-10-30 19:18:41 +01:00 committed by Arvid Norberg
parent a6baefa197
commit cc710671c8
1 changed files with 4 additions and 4 deletions

View File

@ -151,11 +151,11 @@ install:
python3 -m flake8 --version; python3 -m flake8 --version;
fi' fi'
- 'if [ $sonar_scan == "1" ]; then - 'if [ $sonar_scan == "1" ]; then
wget https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-3.2.0.1227-linux.zip wget --quiet https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.2.0.1873-linux.zip;
wget https://sonarqube.com/static/cpp/build-wrapper-linux-x86.zip; wget --quiet https://sonarcloud.io/static/cpp/build-wrapper-linux-x86.zip;
unzip sonar-scanner-cli-3.2.0.1227-linux.zip; unzip sonar-scanner-cli-4.2.0.1873-linux.zip;
unzip build-wrapper-linux-x86.zip; unzip build-wrapper-linux-x86.zip;
export PATH=$PWD/sonar-scanner-3.2.0.1227-linux/bin:$PWD/build-wrapper-linux-x86:$PATH; export PATH=$PWD/sonar-scanner-4.2.0.1873-linux/bin:$PWD/build-wrapper-linux-x86:$PATH;
fi' fi'
- ccache -V - ccache -V