@@ -31,34 +31,6 @@ function FetchAndUnzip
3131 [System.IO.Compression.ZipFile ]::ExtractToDirectory($tmp , $Out )
3232}
3333
34- function InstallAppveyorTools
35- {
36- $travisUtilsVersion = " 21"
37- $localPath = " $env: USERPROFILE \.local"
38- $travisUtilsPath = " $localPath \travis-utils-$travisUtilsVersion "
39- if (Test-Path $travisUtilsPath )
40- {
41- echo " Reusing the Travis Utils version $travisUtilsVersion already downloaded under $travisUtilsPath "
42- }
43- else
44- {
45- $url = " https://github.com/SonarSource/travis-utils/archive/v$travisUtilsVersion .zip"
46- echo " Downloading Travis Utils version $travisUtilsVersion from $url into $localPath "
47- FetchAndUnzip $url $localPath
48- }
49-
50- $mavenLocalRepository = " $env: USERPROFILE \.m2\repository"
51- if (-not (Test-Path $mavenLocalRepository ))
52- {
53- mkdir $mavenLocalRepository | Out-Null
54- }
55- echo " Installating Travis Utils closed source Maven projects into $mavenLocalRepository "
56- Copy-Item " $travisUtilsPath \m2repo\*" $mavenLocalRepository - Force - Recurse
57-
58- $env: ORCHESTRATOR_CONFIG_URL = " "
59- $env: TRAVIS = " ORCH-332"
60- }
61-
6234function Build
6335{
6436 param ([string ]$Project , [string ]$Sha1 )
@@ -117,16 +89,12 @@ switch ($env:RUN)
11789{
11890 " ci"
11991 {
120- InstallAppveyorTools
121-
12292 mvn verify " --batch-mode" " -B" " -e" " -V"
12393 CheckLastExitCode
12494 }
12595
12696 {($_ -eq " plugin" ) -or ($_ -eq " ruling" )}
12797 {
128- InstallAppveyorTools
129-
13098 if ($env: SQ_VERSION -eq " DEV" )
13199 {
132100 BuildSnapshot " SonarSource/sonarqube"
0 commit comments