* 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
39 lines
1.1 KiB
YAML
39 lines
1.1 KiB
YAML
environment:
|
|
matrix:
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu2204
|
|
APPVEYOR_JOB_NAME: "python312-x64-ubuntu"
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
|
|
APPVEYOR_JOB_NAME: "python312-x64-vs2022"
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: macos-sonoma
|
|
APPVEYOR_JOB_NAME: "python312-x64-macos"
|
|
|
|
stack: python 3.12
|
|
|
|
build: off
|
|
|
|
init:
|
|
- ps: |
|
|
$BRANCH = if ($env:APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH) { $env:APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH } else { $env:APPVEYOR_REPO_BRANCH }
|
|
if (-not ($BRANCH -eq 'main' -or $BRANCH.ToLower().StartsWith('appveyor-'))) {
|
|
$env:PYTEST_ADDOPTS = '-k "unit_test or test_0_basic" --suppress-no-test-exit-code'
|
|
}
|
|
if ($IsLinux) {
|
|
docker run --rm --privileged docker.io/tonistiigi/binfmt:latest --install all
|
|
}
|
|
|
|
install:
|
|
- python -m pip install -U pip
|
|
- python -m pip install -e ".[dev]" pytest-custom-exit-code
|
|
|
|
# the '-u' flag is required so the output is in the correct order.
|
|
# See https://github.com/pypa/cibuildwheel/pull/24 for more info.
|
|
test_script: python -u ./bin/run_tests.py
|
|
|
|
branches:
|
|
only:
|
|
- main
|
|
|
|
skip_commits:
|
|
files:
|
|
- docs/*
|