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 <[email protected]> Authored: Fri Mar 25 10:54:50 2016 -0400 Committer: Aldrin Piri <[email protected]> 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
