Skip to content

Commit

Permalink
Merge on_finish section in AppVeyor CI
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Aug 26, 2019
1 parent 2b64029 commit b35c9e3
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ after_test:
- "tools/build.cmd %PYTHON%\\python.exe -m codecov -f coverage.xml -X gcov"

on_finish:
- ps: >-
if($env:APPVEYOR_RDP_DEBUG -eq 'True') {
$blockRdp = $true
iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
}
- ps: |
$wc = New-Object 'System.Net.WebClient'
$wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\.test-results\pytest\results.xml))
Expand All @@ -55,13 +60,6 @@ deploy_script:
Invoke-Expression "$env:PYTHON\\python.exe -m twine upload dist/* --username aio-libs-bot --password $env:PYPI_PASSWD --skip-existing"
}
on_finish:
- ps: >-
if($env:APPVEYOR_RDP_DEBUG -eq 'True') {
$blockRdp = $true
iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
}
#notifications:
# - provider: Webhook
# url: https://ci.appveyor.com/api/github/webhook?id=08c7793w1tp839fl
Expand Down

0 comments on commit b35c9e3

Please sign in to comment.