Repository: qpid-broker-j
Updated Branches:
  refs/heads/master b22a1e7ad -> 203184f98


NO-JIRA: Add appveyor config for CI on Windows (unit tests only for now)


Project: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/commit/203184f9
Tree: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/tree/203184f9
Diff: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/diff/203184f9

Branch: refs/heads/master
Commit: 203184f98e7ad1f44a9d8f9f8aeeb9badac5a505
Parents: b22a1e7
Author: Keith Wall <kw...@apache.org>
Authored: Wed Apr 4 09:36:35 2018 +0100
Committer: Keith Wall <kw...@apache.org>
Committed: Wed Apr 4 09:37:40 2018 +0100

----------------------------------------------------------------------
 appveyor.yml | 46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-broker-j/blob/203184f9/appveyor.yml
----------------------------------------------------------------------
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 0000000..0cfef8f
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,46 @@
+version: '{build}'
+skip_tags: true
+clone_depth: 30
+
+environment:
+  JAVA_HOME: C:\Program Files\Java\jdk1.8.0
+
+install:
+  - ps: |
+      Add-Type -AssemblyName System.IO.Compression.FileSystem
+      if (!(Test-Path -Path "C:\maven\apache-maven-3.3.9" )) {
+        (new-object System.Net.WebClient).DownloadFile(
+          
'http://repo2.maven.org/maven2/org/apache/maven/apache-maven/3.3.9/apache-maven-3.3.9-bin.zip',
+          'C:\maven-bin.zip'
+        )
+        
[System.IO.Compression.ZipFile]::ExtractToDirectory("C:\maven-bin.zip", 
"C:\maven")
+      }
+  - cmd: SET PATH=C:\maven\apache-maven-3.3.9\bin;%JAVA_HOME%\bin;%PATH%
+
+build_script:
+  - mvn clean install -B -DskipTests
+
+test_script:
+  - mvn clean test -B -Dskip.systests=true
+
+on_failure:
+  - ps: |
+      7z a -r surefire-reports.zip '**\target\surefire-reports\*'
+      Push-AppveyorArtifact surefire-reports.zip -DeploymentName 'Surefire 
Reports'
+
+on_finish:
+  - ps: |
+      $url = 
"https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)"
+      $wc = New-Object 'System.Net.WebClient'
+      $dirs = Get-ChildItem -Filter surefire-reports -Recurse
+      ForEach ($dir in $dirs)
+      {
+        $files = Get-ChildItem -Path $dir.FullName -Filter TEST-*.xml
+        ForEach ($file in $files)
+        {
+          $wc.UploadFile($url, (Resolve-Path $file.FullName))
+        }
+      }
+
+cache:
+  - C:\maven\apache-maven-3.3.9


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to