blob: b87beda75e0887ec599386717b2dbc56c67604b7 [file] [log] [blame]
Zachary Ware7de25b12018-02-04 14:09:29 -06001version: 3.8build{build}
Zachary Wared31b28e2017-03-05 15:45:53 -06002clone_depth: 5
Zachary Wared3bedf32017-06-04 15:18:50 -05003branches:
4 only:
5 - master
6 - /\d\.\d/
7 - buildbot-custom
Zachary Waref8013222017-09-04 14:59:02 -07008cache:
Zachary Ware68504502018-02-04 14:36:43 -06009 - externals -> PCbuild
Zachary Ware28607e02018-02-11 11:19:51 -060010before_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 {
Zachary Ware6ea20fc2018-02-11 15:35:09 -060017 git fetch -q origin +refs/heads/$env:APPVEYOR_REPO_BRANCH
18 $mergebase = git merge-base HEAD FETCH_HEAD
Zachary Ware28607e02018-02-11 11:19:51 -060019 $changes = git diff --name-only HEAD $mergebase | grep -vE '(\.rst$)|(^Doc)|(^Misc)'
20 If (!$changes) {
21 echo 'Only docs were updated, stopping build process.'
22 Exit-AppveyorBuild
23 }
Zachary Ware6ea20fc2018-02-11 15:35:09 -060024 echo 'Doing full build due to non-doc changes in these files:'
25 echo $changes
Zachary Ware28607e02018-02-11 11:19:51 -060026 }
27
28
Zachary Wared31b28e2017-03-05 15:45:53 -060029build_script:
Zachary Ware28607e02018-02-11 11:19:51 -060030 - cmd: PCbuild\build.bat -e
31 - cmd: PCbuild\win32\python.exe -m test.pythoninfo
Zachary Wared31b28e2017-03-05 15:45:53 -060032test_script:
Zachary Ware28607e02018-02-11 11:19:51 -060033 - cmd: PCbuild\rt.bat -q -uall -u-cpu -rwW --slowest --timeout=1200 --fail-env-changed -j0
Steve Dower5feda332017-07-18 19:31:51 +020034environment:
35 HOST_PYTHON: C:\Python36\python.exe
Steve Dower5fcd5e62017-09-06 10:01:38 -070036image:
37- Visual Studio 2017