Remove custom code for fail fast because rolling builds in AppVeyor are enabled. (#6431)

This commit is contained in:
Adrien Ferrand
2018-10-19 17:37:22 -07:00
committed by Brad Warren
parent 1e8c13ebf9
commit 7b17c84dd9
-5
View File
@@ -11,11 +11,6 @@ branches:
- /^test-.*$/
install:
# Fail fast if a newer build is queued for the same PR
- ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod `
https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds | `
Where-Object pullRequestId -eq $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { `
throw "There are newer queued builds for this pull request, failing early." }
# Use Python 3.7 by default
- "SET PATH=C:\\Python37;C:\\Python37\\Scripts;%PATH%"
# Check env