Rev | Line | |
---|
[13234] | 1 | version: '{build}'
|
---|
[13235] | 2 | image: Visual Studio 2017
|
---|
[13234] | 3 | install:
|
---|
| 4 | - cinst ant
|
---|
[13235] | 5 | - refreshenv
|
---|
[13234] | 6 | build_script:
|
---|
[14168] | 7 | - ant compile dist distmac checkstyle pmd spotbugs
|
---|
[13234] | 8 | test_script:
|
---|
[14168] | 9 | - ant test-unit-hardfail
|
---|
| 10 | on_finish:
|
---|
[13240] | 11 | - ps: |
|
---|
| 12 | $wc = New-Object 'System.Net.WebClient'
|
---|
| 13 | Get-ChildItem . -Name -Recurse 'TEST-*.xml' |
|
---|
| 14 | Foreach-Object {
|
---|
| 15 | $wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path $_))
|
---|
| 16 | }
|
---|
[14179] | 17 | # we want to push test result artifact even if the tests fail, so uploading manually
|
---|
| 18 | - 7z a test-results.zip test\report\TEST*.xml
|
---|
| 19 | - ps: Push-AppveyorArtifact test-results.zip
|
---|
[13237] | 20 | artifacts:
|
---|
| 21 | - path: dist\josm-custom.*
|
---|
[13239] | 22 | - path: checkstyle-josm.xml
|
---|
| 23 | - path: pmd-josm.xml
|
---|
| 24 | - path: spotbugs-josm.xml
|
---|
[13240] | 25 | - path: hs_err_pid*.log
|
---|
Note:
See
TracBrowser
for help on using the repository browser.