1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
version: '{build}'
branches:
only:
- mirror
image: Visual Studio 2017
install:
- cinst ant
- refreshenv
build_script:
- ant compile javadoc dist distmac checkstyle pmd spotbugs
test_script:
- ant test
after_test:
- ps: |
$wc = New-Object 'System.Net.WebClient'
Get-ChildItem . -Name -Recurse 'TEST-*.xml' |
Foreach-Object {
$wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path $_))
}
artifacts:
- path: dist\josm-custom.*
- path: checkstyle-josm.xml
- path: pmd-josm.xml
- path: spotbugs-josm.xml
- path: test\report
type: zip
- path: hs_err_pid*.log
|