Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

Commit

Permalink
Migrate Azure DevOps pipelines to pool syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
alfpark committed Oct 12, 2018
1 parent 3752fc8 commit f92a142
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 15 deletions.
29 changes: 16 additions & 13 deletions .vsts/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
name: $(SourceBranch)$(Rev:.r)

phases:
- phase: Windows
queue:
name: Hosted VS2017
parallel: 1
jobs:
- job: Windows
pool:
vmIamge: vs2017-win2016
strategy:
maxParallel: 1
matrix:
Python36:
python.version: '3.6'
Expand Down Expand Up @@ -115,10 +116,11 @@ phases:
displayName: Docker build
condition: and(succeeded(), ne(variables['DOCKER_TAG'], ''))
- phase: Linux
queue:
name: Hosted Linux Preview
parallel: 1
- job: Linux
pool:
vmImage: ubuntu-16.04
strategy:
maxParallel: 1
matrix:
Python36:
python.version: '3.6'
Expand Down Expand Up @@ -222,10 +224,11 @@ phases:
alsoPublishWheel: true
condition: and(succeeded(), ne(variables['GIT_TAG'], ''))

- phase: MacOS
queue:
name: Hosted macOS Preview
parallel: 1
- job: MacOS
pool:
vmImage: macOS-10.13
strategy:
maxParallel: 1
matrix:
Python36:
python.version: '3.6'
Expand Down
4 changes: 2 additions & 2 deletions .vsts/pyenv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ steps:
set -o pipefail
echo "ARTIFACT_CLI=$ARTIFACT_CLI"
if [ "${SYSTEM_PHASENAME}" == "Linux" ]; then
apt-get update
apt-get install -y libbz2-dev libreadline-dev libsqlite3-dev
sudo apt-get update
sudo apt-get install -y libbz2-dev libreadline-dev libsqlite3-dev
fi
export PYENV_ROOT="$(Agent.WorkFolder)/.pyenv"
git clone https://github.com/pyenv/pyenv.git $PYENV_ROOT
Expand Down

0 comments on commit f92a142

Please sign in to comment.