Repository: nifi
Updated Branches:
  refs/heads/NIFI-1654 [created] 3970c5e13


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/3970c5e1
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/3970c5e1
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/3970c5e1

Branch: refs/heads/NIFI-1654
Commit: 3970c5e136f731dba9a594f0f7e7345ede57674c
Parents: e4b7e47
Author: Aldrin Piri <[email protected]>
Authored: Fri Mar 25 10:54:50 2016 -0400
Committer: Aldrin Piri <[email protected]>
Committed: Fri Mar 25 10:54:50 2016 -0400

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


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

Reply via email to