summaryrefslogtreecommitdiffstats
path: root/.vsts/linux-pr.yml
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2018-09-11 17:47:46 (GMT)
committerGitHub <noreply@github.com>2018-09-11 17:47:46 (GMT)
commitb7d613fc5636d5d8c5ec32d8004c095e20cc4d7d (patch)
tree5a79cee4e6b8e94fa7f8a9ec2f2e3eeedc7601f4 /.vsts/linux-pr.yml
parent08bcf647d8a92e4bd47531588b284c6820b7a7ef (diff)
downloadcpython-b7d613fc5636d5d8c5ec32d8004c095e20cc4d7d.zip
cpython-b7d613fc5636d5d8c5ec32d8004c095e20cc4d7d.tar.gz
cpython-b7d613fc5636d5d8c5ec32d8004c095e20cc4d7d.tar.bz2
Update VSTS to Azure DevOps and simplify dependencies (GH-9168)
Diffstat (limited to '.vsts/linux-pr.yml')
-rw-r--r--.vsts/linux-pr.yml27
1 files changed, 2 insertions, 25 deletions
diff --git a/.vsts/linux-pr.yml b/.vsts/linux-pr.yml
index 145ebb3..6e4ac7c 100644
--- a/.vsts/linux-pr.yml
+++ b/.vsts/linux-pr.yml
@@ -4,7 +4,7 @@
name: $(BuildDefinitionName)_$(Date:yyyyMMdd)$(Rev:.rr)
queue:
- name: Hosted Linux Preview
+ name: 'Hosted Ubuntu 1604'
trigger:
branches:
@@ -40,34 +40,11 @@ steps:
#- 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: echo ##vso[task.prependpath]$(OPENSSL_DIR)
displayName: 'Add $(OPENSSL_DIR) to PATH'
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'))