Skip to content

Commit cb6e028

Browse files
author
Amin
committed
update appveyor
1 parent f007cf5 commit cb6e028

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.appveyor.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
build: false
2+
3+
platform:
4+
- x64
5+
16
clone_folder: c:\projects\python-ffmpeg-video-streaming
27

38
environment:
@@ -45,6 +50,13 @@ environment:
4550
VS: "Visual Studio 14 2015 Win64"
4651

4752
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%"
4860
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
4961
- "python --version"
5062
- "python -m pip install --disable-pip-version-check --user --upgrade pip"

0 commit comments

Comments
 (0)