Skip to content

Commit 5da8b0c

Browse files
authored
Merge pull request #3275 from wing328/windows_ci
Add CI tests for Windows environment
2 parents 6d6cfbf + e013747 commit 5da8b0c

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

appveyor.yml

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

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
</developers>
3030
<issueManagement>
3131
<system>github</system>
32-
<url>https://github.com/swagger-api/swagger-core/issues</url>
32+
<url>https://github.com/swagger-api/swagger-codegen/issues</url>
3333
</issueManagement>
3434
<mailingLists>
3535
<mailingList>

0 commit comments

Comments
 (0)