|  | 
|  | 1 | +build: false | 
|  | 2 | + | 
|  | 3 | +platform: | 
|  | 4 | + - x64 | 
|  | 5 | + | 
| 1 | 6 | clone_folder: c:\projects\python-ffmpeg-video-streaming | 
| 2 | 7 | 
 | 
| 3 | 8 | environment: | 
| @@ -45,6 +50,13 @@ environment: | 
| 45 | 50 |  VS: "Visual Studio 14 2015 Win64" | 
| 46 | 51 | 
 | 
| 47 | 52 | install: | 
|  | 53 | + - ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod ` | 
|  | 54 | + https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds | ` | 
|  | 55 | + Where-Object pullRequestId -eq $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { ` | 
|  | 56 | + throw "There are newer queued builds for this pull request, failing early." } | 
|  | 57 | + - ps: "[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12" | 
|  | 58 | + - ps: if (-not(Test-Path($env:PYTHON))) { & appveyor\install.ps1 } | 
|  | 59 | + - "echo %APPVEYOR_BUILD_WORKER_IMAGE%" | 
| 48 | 60 |  - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" | 
| 49 | 61 |  - "python --version" | 
| 50 | 62 |  - "python -m pip install --disable-pip-version-check --user --upgrade pip" | 
|  | 
0 commit comments