renovate/azure-pipelines.yml
Jamie Magee cfb17cac16 build: python 3.8 support (#4797)
See microsoft/azure-pipelines-image-generation#1317

Fixes #4775, Fixes #4657
2019-11-19 09:13:32 +01:00

77 lines
1.6 KiB
YAML

trigger:
batch: true
branches:
include:
- 'master'
pr:
autoCancel: true
branches:
include:
- '*'
variables:
YARN_CACHE_FOLDER: $(Pipeline.Workspace)/.yarn
CI: true
Agent.Source.Git.ShallowFetchDepth: 1
jobs:
- job: 'Windows'
strategy:
matrix:
Node10 Py3.8:
nodeVersion: '10.x'
pythonVersion: '3.8'
Node12 Py3.8:
nodeVersion: '12.x'
pythonVersion: '3.8'
pool:
vmImage: windows-2019
steps:
- bash: |
set -e
git config --global core.autocrlf false
git config --global core.symlinks true
displayName: 'Preserve LF endings and symbolic links on check out'
- template: .azure/steps.yml
- job: 'Linux'
strategy:
matrix:
Node10 Py3.8:
nodeVersion: '10.x'
pythonVersion: '3.8'
pool:
vmImage: ubuntu-18.04
steps:
- template: .azure/steps.yml
- job: 'MacOS'
strategy:
matrix:
Node10 Py3.8:
nodeVersion: '10.x'
pythonVersion: '3.8'
pool:
vmImage: macOS-10.13
steps:
- template: .azure/steps.yml
- job: 'DockerSlim'
pool:
vmImage: ubuntu-16.04
steps:
- bash: |
docker pull renovate/renovate:slim
displayName: Pull old slim renovate image as cache
- bash: |
export DOCKER_BUILDKIT=1
docker build --cache-from renovate/renovate:slim -t renovate-test -f Dockerfile.slim .
displayName: Build slim renovate image
- bash: |
docker run --rm -t renovate-test --version
displayName: Test slim renovate image