File: appveyor.yml

package info (click to toggle)
josm 0.0.svn17428%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 204,760 kB
  • sloc: java: 360,765; xml: 198,972; perl: 10,138; jsp: 250; sh: 123; makefile: 112; javascript: 74; python: 29
file content (25 lines) | stat: -rw-r--r-- 822 bytes parent folder | download | duplicates (2)
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
version: '{build}'
image: Visual Studio 2017
install:
  - cinst ant
  - refreshenv
build_script:
  - ant compile dist distmac checkstyle pmd spotbugs
test_script:
  - ant test-unit-hardfail
on_finish:
  - 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 $_))
        }
  # we want to push test result artifact even if the tests fail, so uploading manually
  - 7z a test-results.zip test\report\TEST*.xml
  - ps: Push-AppveyorArtifact test-results.zip
artifacts:
  - path: dist\josm-custom.*
  - path: checkstyle-josm.xml
  - path: pmd-josm.xml
  - path: spotbugs-josm.xml
  - path: hs_err_pid*.log