# yamllint disable rule:line-length --- environment: matrix: - PYTHON: "C:\\Python37-x64" - PYTHON: "C:\\Python36-x64" init: - "chcp 65001" - ps: >- if($env:APPVEYOR_RDP_DEBUG -eq 'True') { iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) } install: # symlink python from a directory with a space - "mklink /d \"C:\\Program Files\\Python\" %PYTHON%" - "SET PYTHON=\"C:\\Program Files\\Python\"" - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" - "python -m pip install tox" - "python -m tox --notest" before_build: - "python -m pip install wheel" build_script: - python -m setup bdist_wheel test_script: - tox 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)) artifacts: - path: dist\* ...