forked from ozimov/embedded-redis
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added appveyor.yml config for AppVeyor CI
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
version: '{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 | ||
cache: | ||
- C:\maven\ | ||
- C:\Users\appveyor\.m2 |