Try using Python 3 with httpbin

Use 3.5 which is currently available on all AppVeyor Windows images, see
https://www.appveyor.com/docs/windows-images-software/#python
This commit is contained in:
Vadim Zeitlin
2021-01-27 09:16:23 +01:00
parent 623c4811ab
commit c625d2c001

View File

@@ -74,8 +74,8 @@ build_script: c:\projects\wxwidgets\build\tools\appveyor.bat
before_test: before_test:
- ps: | - ps: |
Write-Output "Getting and launching httpbin." Write-Output "Getting and launching httpbin."
pip install httpbin C:\Python35\Scripts\pip.exe --disable-pip-version-check install httpbin
Start-Job -Name wx_httpbin { python -m httpbin.core > c:\projects\wxwidgets\httpbin.log } Start-Job -Name wx_httpbin { C:\Python35\python.exe -m httpbin.core > c:\projects\wxwidgets\httpbin.log }
curl http://127.0.0.1:5000/ip curl http://127.0.0.1:5000/ip
$env:WX_TEST_WEBREQUEST_URL="http://127.0.0.1:5000" $env:WX_TEST_WEBREQUEST_URL="http://127.0.0.1:5000"