File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 49
49
- " ECHO %PYTHON_VERSION% %PYTHON%"
50
50
51
51
install :
52
+ # cancel older builds for the same PR
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
+
52
58
# this installs the appropriate Miniconda (Py2/Py3, 32/64 bit)
53
59
# updates conda & installs: conda-build jinja2 anaconda-client
54
60
- powershell .\ci\install.ps1
@@ -69,6 +75,7 @@ install:
69
75
# https://github.com/conda/conda-build/issues/1001
70
76
# disabling 3.4 as windows complains upon compiling byte
71
77
# code
78
+
72
79
- cmd : conda install conda-build=1.21.7
73
80
- cmd : conda config --set ssl_verify false
74
81
You can’t perform that action at this time.
0 commit comments