You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ro...@apache.org on 2017/01/19 15:07:06 UTC

[2/2] qpid-proton-j git commit: PROTON-1385: add initial TravisCI and Appveyor job config

PROTON-1385: add initial TravisCI and Appveyor job config


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

Branch: refs/heads/master
Commit: bca685d42832b790a7d8c7c79dd8f16dcce6dc55
Parents: 6c97801
Author: Robert Gemmell <ro...@apache.org>
Authored: Thu Jan 19 15:05:11 2017 +0000
Committer: Robert Gemmell <ro...@apache.org>
Committed: Thu Jan 19 15:05:11 2017 +0000

----------------------------------------------------------------------
 .travis.yml  |  4 ++++
 appveyor.yml | 35 +++++++++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton-j/blob/bca685d4/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..cc6ad1c
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,4 @@
+language: java
+sudo: false
+jdk:
+  - oraclejdk8

http://git-wip-us.apache.org/repos/asf/qpid-proton-j/blob/bca685d4/appveyor.yml
----------------------------------------------------------------------
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 0000000..836eece
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,35 @@
+version: '{build}'
+skip_tags: true
+clone_depth: 30
+
+environment:
+  JAVA_HOME: C:\Program Files\Java\jdk1.8.0
+
+install:
+  - cmd: SET PATH=%JAVA_HOME%\bin;%PATH%
+
+build_script:
+  - mvn clean install -B -DskipTests
+
+test_script:
+  - mvn clean install -B
+
+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))
+        }
+      }
+


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