source: josm/trunk/appveyor.yml @ 14289

Last change on this file since 14289 was 14179, checked in by Don-vip, 13 months ago

fix #16680 - Unit tests: fix for windows (patch by ris)

File size: 822 bytes
RevLine 
[13234]1version: '{build}'
[13235]2image: Visual Studio 2017
[13234]3install:
4  - cinst ant
[13235]5  - refreshenv
[13234]6build_script:
[14168]7  - ant compile dist distmac checkstyle pmd spotbugs
[13234]8test_script:
[14168]9  - ant test-unit-hardfail
10on_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]20artifacts:
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.