* fix: enforce minimum version of docker/podman This allows to always pass `--platform` to the OCI engine thus fixing issues with multiarch images. * Allow older versions with warnings * Upgrade docker on Travis CI * fix: use `docker cp` instead of `tar` * Enforce docker>=24.0 * move log to include container.copy_into * fix: travis-ci, only update docker on aarch64 * skip test_multiarch_image on s390x / ppc64le * skip flaky test * chore: only install test deps on Travis CI * fix: do not try to pull images tagged `cibw_local` * use "--pull=never" for local images * Use docker image inspect to check if an image needs to be pulled
40 lines
895 B
YAML
40 lines
895 B
YAML
pr:
|
|
paths:
|
|
exclude:
|
|
- docs/*
|
|
- .pre-commit-config.yaml
|
|
|
|
jobs:
|
|
- job: linux_38
|
|
timeoutInMinutes: 120
|
|
pool: {vmImage: 'Ubuntu-20.04'}
|
|
steps:
|
|
- task: UsePythonVersion@0
|
|
inputs:
|
|
versionSpec: '3.8'
|
|
- bash: |
|
|
docker run --rm --privileged docker.io/tonistiigi/binfmt:latest --install all
|
|
python -m pip install -e ".[dev]"
|
|
python ./bin/run_tests.py
|
|
|
|
- job: macos_38
|
|
pool: {vmImage: 'macOS-12'}
|
|
steps:
|
|
- task: UsePythonVersion@0
|
|
inputs:
|
|
versionSpec: '3.8'
|
|
- bash: |
|
|
python -m pip install -e ".[dev]"
|
|
python ./bin/run_tests.py --num-processes 2
|
|
|
|
- job: windows_38
|
|
pool: {vmImage: 'windows-2019'}
|
|
timeoutInMinutes: 180
|
|
steps:
|
|
- task: UsePythonVersion@0
|
|
inputs:
|
|
versionSpec: '3.8'
|
|
- bash: |
|
|
python -m pip install -e ".[dev]"
|
|
python ./bin/run_tests.py
|