name: $(BuildDefinitionName)_$(Date:yyyyMMdd)$(Rev:.rr)
queue:
- name: Hosted Linux Preview
+ name: 'Hosted Ubuntu 1604'
trigger:
branches:
--- /dev/null
+sudo apt-get update
+
+sudo apt-get -yq install \
+ build-essential \
+ zlib1g-dev \
+ libbz2-dev \
+ liblzma-dev \
+ libncurses5-dev \
+ libreadline6-dev \
+ libsqlite3-dev \
+ libssl-dev \
+ libgdbm-dev \
+ tk-dev \
+ lzma \
+ lzma-dev \
+ liblzma-dev \
+ libffi-dev \
+ uuid-dev \
+ xvfb
name: $(BuildDefinitionName)_$(Date:yyyyMMdd)$(Rev:.rr)
queue:
- name: Hosted Linux Preview
+ name: 'Hosted Ubuntu 1604'
trigger:
branches:
clean: true
fetchDepth: 5
-#- template: linux-deps.yml
-
-# See https://github.com/Microsoft/vsts-agent/blob/master/docs/preview/yamlgettingstarted-templates.md
-# For now, we copy/paste the steps
-- script: echo "deb-src http://archive.ubuntu.com/ubuntu/ xenial main" > /etc/apt/sources.list.d/python.list && sudo apt-get update
- displayName: 'Update apt-get lists'
-
-- script: >
- sudo apt-get -yq install
- build-essential
- zlib1g-dev
- libbz2-dev
- liblzma-dev
- libncurses5-dev
- libreadline6-dev
- libsqlite3-dev
- libssl-dev
- libgdbm-dev
- tk-dev
- lzma
- lzma-dev
- liblzma-dev
- libffi-dev
- uuid-dev
- xvfb
+- script: ./.vsts/install_deps.sh
displayName: 'Install dependencies'
- script: ./configure --with-pydebug
name: $(BuildDefinitionName)_$(Date:yyyyMMdd)$(Rev:.rr)
queue:
- name: Hosted Linux Preview
+ name: 'Hosted Ubuntu 1604'
trigger:
branches:
displayName: Detect doc-only changes
condition: and(succeeded(), variables['system.pullRequest.targetBranch'])
-#- template: linux-deps.yml
-
-# See https://github.com/Microsoft/vsts-agent/blob/master/docs/preview/yamlgettingstarted-templates.md
-# For now, we copy/paste the steps
-- script: echo "deb-src http://archive.ubuntu.com/ubuntu/ xenial main" > /etc/apt/sources.list.d/python.list && sudo apt-get update
- displayName: 'Update apt-get lists'
- condition: and(succeeded(), ne(variables['DocOnly'], 'true'))
-
-- script: >
- sudo apt-get -yq install
- build-essential
- zlib1g-dev
- libbz2-dev
- liblzma-dev
- libncurses5-dev
- libreadline6-dev
- libsqlite3-dev
- libssl-dev
- libgdbm-dev
- tk-dev
- lzma
- lzma-dev
- liblzma-dev
- libffi-dev
- uuid-dev
- xvfb
+- script: ./.vsts/install_deps.sh
displayName: 'Install dependencies'
-
+ condition: and(succeeded(), ne(variables['DocOnly'], 'true'))
- script: ./configure --with-pydebug
displayName: 'Configure CPython (debug)'
+++ /dev/null
-# Note: this file is not currently used, but when template support comes to VSTS it
-# will be referenced from the other scripts..
-
-# Current docs for the syntax of this file are at:
-# https://github.com/Microsoft/vsts-agent/blob/master/docs/preview/yamlgettingstarted.md
-
-#parameters:
-
-steps:
-- script: echo "deb-src http://archive.ubuntu.com/ubuntu/ xenial main" > /etc/apt/sources.list.d/python.list && sudo apt-get update
- displayName: 'Update apt-get lists'
-
-- script: >
- sudo apt-get -yq install
- build-essential
- zlib1g-dev
- libbz2-dev
- liblzma-dev
- libncurses5-dev
- libreadline6-dev
- libsqlite3-dev
- libssl-dev
- libgdbm-dev
- tk-dev
- lzma
- lzma-dev
- liblzma-dev
- libffi-dev
- uuid-dev
- xvfb
- displayName: 'Install dependencies'
name: $(BuildDefinitionName)_$(Date:yyyyMMdd)$(Rev:.rr)
queue:
- name: Hosted Linux Preview
+ name: 'Hosted Ubuntu 1604'
trigger:
branches:
displayName: Detect doc-only changes
condition: and(succeeded(), variables['system.pullRequest.targetBranch'])
-#- template: linux-deps.yml
-
-# See https://github.com/Microsoft/vsts-agent/blob/master/docs/preview/yamlgettingstarted-templates.md
-# For now, we copy/paste the steps
-- script: echo "deb-src http://archive.ubuntu.com/ubuntu/ xenial main" > /etc/apt/sources.list.d/python.list && sudo apt-get update
- displayName: 'Update apt-get lists'
- condition: and(succeeded(), ne(variables['DocOnly'], 'true'))
-
-- script: >
- sudo apt-get -yq install
- build-essential
- zlib1g-dev
- libbz2-dev
- liblzma-dev
- libncurses5-dev
- libreadline6-dev
- libsqlite3-dev
- libssl-dev
- libgdbm-dev
- tk-dev
- lzma
- lzma-dev
- liblzma-dev
- libffi-dev
- uuid-dev
- xvfb
+- script: ./.vsts/install_deps.sh
displayName: 'Install dependencies'
condition: and(succeeded(), ne(variables['DocOnly'], 'true'))
-
- script: ./configure --with-pydebug
displayName: 'Configure CPython (debug)'
condition: and(succeeded(), ne(variables['DocOnly'], 'true'))
name: $(BuildDefinitionName)_$(Date:yyyyMMdd)$(Rev:.rr)
queue:
- name: Hosted macOS Preview
+ name: Hosted macOS
trigger:
branches:
name: $(BuildDefinitionName)_$(Date:yyyyMMdd)$(Rev:.rr)
queue:
- name: Hosted macOS Preview
+ name: Hosted macOS
trigger:
branches:
:alt: CPython build status on Appveyor
:target: https://ci.appveyor.com/project/python/cpython/branch/3.6
-.. image:: https://python.visualstudio.com/cpython/_apis/build/status/Linux-Buildbot?branchName=3.6&label=Linux
+.. image:: https://dev.azure.com/python/cpython/_apis/build/status/Linux-Buildbot?branchName=3.6&label=Linux
:alt: CPython build status on VSTS (Linux)
- :target: https://python.visualstudio.com/cpython/_build/latest?definitionId=6&branchName=3.6
+ :target: https://dev.azure.com/python/cpython/_build/latest?definitionId=6&branchName=3.6
-.. image:: https://python.visualstudio.com/cpython/_apis/build/status/macOS-Buildbot?branchName=3.6&label=macOS
+.. image:: https://dev.azure.com/python/cpython/_apis/build/status/macOS-Buildbot?branchName=3.6&label=macOS
:alt: CPython build status on VSTS (macOS)
- :target: https://python.visualstudio.com/cpython/_build/latest?definitionId=5&branchName=3.6
+ :target: https://dev.azure.com/python/cpython/_build/latest?definitionId=5&branchName=3.6
-.. image:: https://python.visualstudio.com/cpython/_apis/build/status/Windows-Buildbot?branchName=3.6&label=Windows
+.. image:: https://dev.azure.com/python/cpython/_apis/build/status/Windows-Buildbot?branchName=3.6&label=Windows
:alt: CPython build status on VSTS (Windows)
- :target: https://python.visualstudio.com/cpython/_build/latest?definitionId=4&branchName=3.6
+ :target: https://dev.azure.com/python/cpython/_build/latest?definitionId=4&branchName=3.6
.. image:: https://codecov.io/gh/python/cpython/branch/3.6/graph/badge.svg
:alt: CPython code coverage on Codecov