File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,11 +7,27 @@ branches:
77 - buildbot-custom
88cache :
99 - externals -> PCbuild
10+ before_build :
11+ - ps : |+
12+ if ($env:APPVEYOR_RE_BUILD) {
13+ echo 'Doing full build due to re-build request.'
14+ } elseif (!$env:APPVEYOR_PULL_REQUEST_HEAD_COMMIT) {
15+ echo 'Not a PR, doing full build.'
16+ } else {
17+ $mergebase = git merge-base $env:APPVEYOR_PULL_REQUEST_HEAD_COMMIT $env:APPVEYOR_REPO_BRANCH
18+ $changes = git diff --name-only HEAD $mergebase | grep -vE '(\.rst$)|(^Doc)|(^Misc)'
19+ If (!$changes) {
20+ echo 'Only docs were updated, stopping build process.'
21+ Exit-AppveyorBuild
22+ }
23+ }
24+
25+
1026build_script :
11- - cmd : PCbuild\build.bat -e
12- - cmd : PCbuild\win32\python.exe -m test.pythoninfo
27+ - cmd : PCbuild\build.bat -e
28+ - cmd : PCbuild\win32\python.exe -m test.pythoninfo
1329test_script :
14- - cmd : PCbuild\rt.bat -q -uall -u-cpu -rwW --slowest --timeout=1200 --fail-env-changed -j0
30+ - cmd : PCbuild\rt.bat -q -uall -u-cpu -rwW --slowest --timeout=1200 --fail-env-changed -j0
1531environment :
1632 HOST_PYTHON : C:\Python36\python.exe
1733image :
You can’t perform that action at this time.
0 commit comments