Skip to content

Commit 4401e1b

Browse files
committed
build test
1 parent 3c9b172 commit 4401e1b

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

appveyor.yml

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

0 commit comments

Comments
 (0)