File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change
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
You can’t perform that action at this time.
0 commit comments