Skip to content

Commit 2eedd54

Browse files
authored
Create appveyor.yml
1 parent fcd85ab commit 2eedd54

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

appveyor.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
version: '{build}'
2+
os: Windows Server 2012
3+
install:
4+
- ps: |
5+
Add-Type -AssemblyName System.IO.Compression.FileSystem
6+
if (!(Test-Path -Path "C:\maven" )) {
7+
(new-object System.Net.WebClient).DownloadFile(
8+
'http://www.us.apache.org/dist/maven/maven-3/3.5.3/binaries/apache-maven-3.5.3-bin.zip',
9+
'C:\maven-bin.zip'
10+
)
11+
[System.IO.Compression.ZipFile]::ExtractToDirectory("C:\maven-bin.zip", "C:\maven")
12+
}
13+
- cmd: SET PATH=C:\maven\apache-maven-3.2.5\bin;%JAVA_HOME%\bin;%PATH%
14+
- cmd: SET MAVEN_OPTS=-XX:MaxPermSize=2g -Xmx4g
15+
- cmd: SET JAVA_OPTS=-XX:MaxPermSize=2g -Xmx4g
16+
build_script:
17+
- mvn clean package --batch-mode -DskipTest
18+
test_script:
19+
- mvn clean install --batch-mode
20+
cache:
21+
- C:\maven\
22+
- C:\Users\appveyor\.m2

0 commit comments

Comments
 (0)