1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 12:24:49 +01:00

Upload test results to AppVeyor (#1918)

So that it shows up in `Tests` tab, not only `Console`
This commit is contained in:
Bruce Weirdan 2019-07-08 02:05:34 +03:00 committed by Matthew Brown
parent 210ac39d00
commit 0dfbf483cb

View File

@ -66,5 +66,9 @@ install:
## Run the actual test
test_script:
- cd c:\projects\php-project-workspace
- vendor/bin/phpunit
- vendor/bin/phpunit --log-junit build/phpunit/phpunit.xml
- php ./psalm --shepherd
on_finish:
- ps: $wc = New-Object 'System.Net.WebClient'
- ps: $wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\build\phpunit\phpunit.xml))