Skip to content

Commit

Permalink
Merge pull request #2264 from guwirth/update-ci
Browse files Browse the repository at this point in the history
update SQ & scanner versions
  • Loading branch information
guwirth authored Oct 19, 2021
2 parents b82d85c + e015c6a commit 1923d8e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jdk:
- openjdk11
env:
- SONARLABEL=sonarqube-7.9.6 SONARAPI=SqApi79
- SONARLABEL=sonarqube-8.9.0.43852 SONARAPI=SqApi79
- SONARLABEL=sonarqube-8.9.2.46101 SONARAPI=SqApi79

addons:
# shorten the VM hostname with the new workaround
Expand Down Expand Up @@ -38,8 +38,8 @@ install:
- pushd /tmp
- wget -nv --timeout=10 https://binaries.sonarsource.com/Distribution/sonarqube/$SONARLABEL.zip
- unzip -qq $SONARLABEL.zip
- wget -nv --timeout=10 https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.6.1.2450.zip
- unzip -qq sonar-scanner-cli-4.6.1.2450.zip
- wget -nv --timeout=10 https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.6.2.2472.zip
- unzip -qq sonar-scanner-cli-4.6.2.2472.zip
- wget -nv --timeout=10 https://github.com/htacg/tidy-html5/archive/5.6.0.zip --output-document=tidy-html5.zip
- unzip -qq tidy-html5.zip
- pushd tidy-html5-5.6.0/build/cmake/
Expand All @@ -57,7 +57,7 @@ script:
- mvn install -B -e -V -DskipTests=true
- mvn test -B -e -V
- bash cxx-sensors/src/tools/check_rules.sh
- RAILS_ENV=production PATH=$PATH:/tmp/sonar-scanner-4.6.1.2450/bin TestDataFolder=~/build/SonarOpenCommunity/sonar-cxx/integration-tests/testdata behave --no-capture --tags=$SONARAPI
- RAILS_ENV=production PATH=$PATH:/tmp/sonar-scanner-4.6.2.2472/bin TestDataFolder=~/build/SonarOpenCommunity/sonar-cxx/integration-tests/testdata behave --no-capture --tags=$SONARAPI

after_success:
- find . -name "*.log" | xargs cat
Expand Down
14 changes: 7 additions & 7 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,17 @@ install:
if (!(Test-Path -Path "C:\sonar-scanner" )) {
(new-object System.Net.WebClient).DownloadFile(
'https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.6.1.2450.zip',
'https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.6.2.2472.zip',
'C:\sonar-scanner-dist.zip'
)
[System.IO.Compression.ZipFile]::ExtractToDirectory("C:\sonar-scanner-dist.zip", "C:\sonar-scanner")
}
if (!(Test-Path -Path "C:\sonarqube" )) {
(new-object System.Net.WebClient).DownloadFile(
'https://binaries.sonarsource.com/Distribution/sonarqube/sonarqube-8.9.0.43852.zip',
'C:\sonarqube-8.9.0.43852.zip'
'https://binaries.sonarsource.com/Distribution/sonarqube/sonarqube-8.9.2.46101.zip',
'C:\sonarqube-8.9.2.46101.zip'
)
[System.IO.Compression.ZipFile]::ExtractToDirectory("C:\sonarqube-8.9.0.43852.zip", "C:\sonarqube")
[System.IO.Compression.ZipFile]::ExtractToDirectory("C:\sonarqube-8.9.2.46101.zip", "C:\sonarqube")
}
- ps: |
If ($env:Platform -Match "x86") {
Expand All @@ -62,10 +62,10 @@ install:
$env:VCVARS_PLATFORM="amd64"
$env:LANG_PLATFORM="-x64"
}
- cmd: SET PATH=C:\maven\apache-maven-3.6.3\bin;%JAVA_HOME%\bin;C:\sonar-scanner\sonar-scanner-4.6.1.2450\bin;%PATH%
- cmd: SET PATH=C:\maven\apache-maven-3.6.3\bin;%JAVA_HOME%\bin;C:\sonar-scanner\sonar-scanner-4.6.2.2472\bin;%PATH%
- cmd: SET M2_HOME=C:\maven\apache-maven-3.6.3
- cmd: SET MAVEN_HOME=C:\maven\apache-maven-3.6.3
- cmd: SET SONARHOME=C:\sonarqube\sonarqube-8.9.0.43852
- cmd: SET SONARHOME=C:\sonarqube\sonarqube-8.9.2.46101
- cmd: SET TestDataFolder=C:\projects\sonar-cxx\integration-tests\testdata
- cmd: SET

Expand Down Expand Up @@ -107,4 +107,4 @@ on_failure:
- ps: Get-ChildItem cxx-checks\target\surefire-reports\*.txt | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
- ps: Get-ChildItem sonar-cxx-plugin\target\surefire-reports\*.txt | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
- ps: Get-ChildItem *.log | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
- ps: Get-ChildItem C:\sonarqube\sonarqube-8.9.0.43852\logs\* | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
- ps: Get-ChildItem C:\sonarqube\sonarqube-8.9.2.46101\logs\* | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }

0 comments on commit 1923d8e

Please sign in to comment.