|
Last change
on this file since 13438 was 13299, checked in by Don-vip, 8 years ago |
|
see #15742 - AppVeyor: do not upload javadoc artifact, too big
|
|
File size:
704 bytes
|
| Line | |
|---|
| 1 | version: '{build}'
|
|---|
| 2 | branches:
|
|---|
| 3 | only:
|
|---|
| 4 | - mirror
|
|---|
| 5 | image: Visual Studio 2017
|
|---|
| 6 | install:
|
|---|
| 7 | - cinst ant
|
|---|
| 8 | - refreshenv
|
|---|
| 9 | build_script:
|
|---|
| 10 | - ant compile javadoc dist distmac checkstyle pmd spotbugs
|
|---|
| 11 | test_script:
|
|---|
| 12 | - ant test
|
|---|
| 13 | after_test:
|
|---|
| 14 | - ps: |
|
|---|
| 15 | $wc = New-Object 'System.Net.WebClient'
|
|---|
| 16 | Get-ChildItem . -Name -Recurse 'TEST-*.xml' |
|
|---|
| 17 | Foreach-Object {
|
|---|
| 18 | $wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path $_))
|
|---|
| 19 | }
|
|---|
| 20 | artifacts:
|
|---|
| 21 | - path: dist\josm-custom.*
|
|---|
| 22 | - path: checkstyle-josm.xml
|
|---|
| 23 | - path: pmd-josm.xml
|
|---|
| 24 | - path: spotbugs-josm.xml
|
|---|
| 25 | - path: test\report
|
|---|
| 26 | type: zip
|
|---|
| 27 | - path: hs_err_pid*.log
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.