blob: e8012f69ee5b2e4950b032c766a9dfe86d162313 [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
Zachary Ware47a6c792018-06-03 20:13:31 -050023 } else {
24 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
29
Zachary Wared31b28e2017-03-05 15:45:53 -060030build_script:
Victor Stinner8b96eed2018-07-23 13:16:41 +020031 - cmd: PCbuild\build.bat -e -p x64
32 - cmd: PCbuild\amd64\python.exe -m test.pythoninfo
Zachary Wared31b28e2017-03-05 15:45:53 -060033test_script:
Victor Stinner8b96eed2018-07-23 13:16:41 +020034 - cmd: PCbuild\rt.bat -x64 -q -uall -u-cpu -u-largefile -rwW --slowest --timeout=1200 --fail-env-changed -j0
Steve Dower5feda332017-07-18 19:31:51 +020035environment:
36 HOST_PYTHON: C:\Python36\python.exe
Steve Dower5fcd5e62017-09-06 10:01:38 -070037image:
Zachary Ware47a6c792018-06-03 20:13:31 -050038 - Visual Studio 2017