Pillow/.travis.yml

43 lines
910 B
YAML
Raw Normal View History

if: tag IS present OR type = api
2014-06-28 20:30:10 +04:00
env:
global:
2023-11-14 15:23:46 +03:00
- CIBW_ARCHS=aarch64
2016-06-20 21:30:30 +03:00
language: python
# Default Python version is usually 3.6
python: "3.12"
dist: jammy
2016-06-20 21:30:30 +03:00
services: docker
jobs:
2016-06-20 21:30:30 +03:00
include:
2023-11-14 15:23:46 +03:00
- name: "manylinux2014 and musllinux aarch64"
2022-05-31 03:12:20 +03:00
os: linux
arch: arm64
2023-11-14 15:23:46 +03:00
- name: "manylinux_2_28 aarch64"
2022-12-12 03:52:31 +03:00
os: linux
arch: arm64
env:
2023-11-14 15:23:46 +03:00
- CIBW_BUILD: "*manylinux*"
- CIBW_MANYLINUX_X86_64_IMAGE: "manylinux_2_28"
- CIBW_MANYLINUX_PYPY_X86_64_IMAGE: "manylinux_2_28"
2014-06-28 20:30:10 +04:00
install:
2023-11-14 15:23:46 +03:00
- python3 -m pip install cibuildwheel
2014-06-28 20:30:10 +04:00
script:
2023-11-14 15:23:46 +03:00
- python3 -m cibuildwheel --output-dir wheelhouse
- ls -l "${TRAVIS_BUILD_DIR}/wheelhouse/"
# Upload wheels to GitHub Releases
deploy:
provider: releases
2021-09-15 16:39:03 +03:00
api_key: $GITHUB_RELEASE_TOKEN
file_glob: true
2023-11-14 15:23:46 +03:00
file: "${TRAVIS_BUILD_DIR}/wheelhouse/*.whl"
on:
repo: python-pillow/Pillow
tags: true
skip_cleanup: true