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/19 07:20:41 UTC

[16/17] 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/a4194238
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/a4194238
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/a4194238

Branch: refs/heads/NIFI-1654
Commit: a4194238a7c579079d48a8e2e38b6ed34e45806d
Parents: f9c3a67
Author: Aldrin Piri <al...@apache.org>
Authored: Fri Mar 25 10:54:50 2016 -0400
Committer: Aldrin Piri <al...@apache.org>
Committed: Tue Apr 19 01:19:45 2016 -0400

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


http://git-wip-us.apache.org/repos/asf/nifi/blob/a4194238/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