2018-02-04 21:09:29 +01:00
|
|
|
version: 3.8build{build}
|
2017-03-05 22:45:53 +01:00
|
|
|
clone_depth: 5
|
2017-06-04 22:18:50 +02:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- /\d\.\d/
|
|
|
|
- buildbot-custom
|
2017-09-04 23:59:02 +02:00
|
|
|
cache:
|
2018-02-04 21:36:43 +01:00
|
|
|
- externals -> PCbuild
|
2018-02-11 18:19:51 +01:00
|
|
|
before_build:
|
|
|
|
- ps: |+
|
|
|
|
if ($env:APPVEYOR_RE_BUILD) {
|
|
|
|
echo 'Doing full build due to re-build request.'
|
|
|
|
} elseif (!$env:APPVEYOR_PULL_REQUEST_HEAD_COMMIT) {
|
|
|
|
echo 'Not a PR, doing full build.'
|
|
|
|
} else {
|
2018-02-11 22:35:09 +01:00
|
|
|
git fetch -q origin +refs/heads/$env:APPVEYOR_REPO_BRANCH
|
|
|
|
$mergebase = git merge-base HEAD FETCH_HEAD
|
2018-02-11 18:19:51 +01:00
|
|
|
$changes = git diff --name-only HEAD $mergebase | grep -vE '(\.rst$)|(^Doc)|(^Misc)'
|
|
|
|
If (!$changes) {
|
|
|
|
echo 'Only docs were updated, stopping build process.'
|
|
|
|
Exit-AppveyorBuild
|
2018-06-04 03:13:31 +02:00
|
|
|
} else {
|
|
|
|
echo 'Doing full build due to non-doc changes in these files:'
|
|
|
|
echo $changes
|
2018-02-11 18:19:51 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2017-03-05 22:45:53 +01:00
|
|
|
build_script:
|
2018-07-23 13:16:41 +02:00
|
|
|
- cmd: PCbuild\build.bat -e -p x64
|
|
|
|
- cmd: PCbuild\amd64\python.exe -m test.pythoninfo
|
2017-03-05 22:45:53 +01:00
|
|
|
test_script:
|
2018-07-23 13:16:41 +02:00
|
|
|
- cmd: PCbuild\rt.bat -x64 -q -uall -u-cpu -u-largefile -rwW --slowest --timeout=1200 --fail-env-changed -j0
|
2017-07-18 19:31:51 +02:00
|
|
|
environment:
|
|
|
|
HOST_PYTHON: C:\Python36\python.exe
|
2017-09-06 19:01:38 +02:00
|
|
|
image:
|
2018-06-04 03:13:31 +02:00
|
|
|
- Visual Studio 2017
|