You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by al...@apache.org on 2016/04/14 05:40:20 UTC

[2/5] nifi git commit: NIFI-1654 Creating an initial appveyor.yml file.

NIFI-1654 Creating an initial appveyor.yml file.


Project: http://git-wip-us.apache.org/repos/asf/nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/4ab65f7b
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/4ab65f7b
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/4ab65f7b

Branch: refs/heads/NIFI-1654
Commit: 4ab65f7b35c4a42b8ea7ca8001ac8b68841eabf3
Parents: 3e6f1f8
Author: Aldrin Piri <al...@apache.org>
Authored: Fri Mar 25 10:54:50 2016 -0400
Committer: Aldrin Piri <al...@apache.org>
Committed: Mon Apr 11 12:40:50 2016 -0400

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


http://git-wip-us.apache.org/repos/asf/nifi/blob/4ab65f7b/appveyor.yml
----------------------------------------------------------------------
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 0000000..932211a
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,22 @@
+version: '0.6.0-SNAPSHOT-{build}'
+os: Windows Server 2012
+install:
+  - ps: |
+      Add-Type -AssemblyName System.IO.Compression.FileSystem
+      if (!(Test-Path -Path "C:\maven" )) {
+        (new-object System.Net.WebClient).DownloadFile(
+          'http://www.us.apache.org/dist/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-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.2.5\bin;%JAVA_HOME%\bin;%PATH%
+  - cmd: SET MAVEN_OPTS=-XX:MaxPermSize=2g -Xmx4g
+  - cmd: SET JAVA_OPTS=-XX:MaxPermSize=2g -Xmx4g
+build_script:
+  - mvn clean package --batch-mode -DskipTest
+test_script:
+  - mvn clean install --batch-mode -Pcontrib-check
+cache:
+  - C:\maven\
+  - C:\Users\appveyor\.m2