Pillow/.travis.yml

71 lines
1.6 KiB
YAML
Raw Normal View History

2014-06-28 20:30:10 +04:00
env:
global:
2016-06-20 21:30:30 +03:00
- REPO_DIR=Pillow
2016-10-03 18:11:43 +03:00
- BUILD_COMMIT=HEAD
2016-06-20 21:30:30 +03:00
- PLAT=x86_64
- UNICODE_WIDTH=32
- BUILD_DEPENDS=""
2020-06-28 07:57:57 +03:00
- TEST_DEPENDS="pytest pytest-cov"
2016-06-20 21:30:30 +03:00
language: python
# Default Python version is usually 3.6
2021-01-10 06:38:00 +03:00
python: 3.9
2021-05-20 04:39:39 +03:00
dist: focal
2016-06-20 21:30:30 +03:00
services: docker
jobs:
2016-06-20 21:30:30 +03:00
include:
2021-08-12 11:05:35 +03:00
- name: "3.7 Focal aarch64"
2020-06-28 11:59:15 +03:00
arch: arm64
env:
- PLAT=aarch64
- MB_PYTHON_VERSION=3.7
2021-08-12 11:05:35 +03:00
- DOCKER_TEST_IMAGE=multibuild/focal_{PLAT}
- name: "3.8 Focal aarch64"
2020-06-28 11:59:15 +03:00
os: linux
arch: arm64
env:
- PLAT=aarch64
- MB_PYTHON_VERSION=3.8
2021-08-12 11:05:35 +03:00
- DOCKER_TEST_IMAGE=multibuild/focal_{PLAT}
- name: "3.9 Focal aarch64"
2020-08-27 13:53:50 +03:00
os: linux
arch: arm64
env:
- PLAT=aarch64
- MB_PYTHON_VERSION=3.9
2021-08-12 11:05:35 +03:00
- DOCKER_TEST_IMAGE=multibuild/focal_{PLAT}
2021-08-12 11:06:43 +03:00
- name: "3.10 Focal aarch64"
os: linux
arch: arm64
env:
- PLAT=aarch64
- MB_PYTHON_VERSION=3.10
- DOCKER_TEST_IMAGE=multibuild/focal_{PLAT}
2020-06-28 11:59:15 +03:00
2016-06-20 21:30:30 +03:00
before_install:
- source multibuild/common_utils.sh
- source multibuild/travis_steps.sh
- before_install
2014-06-28 20:30:10 +04:00
install:
2016-06-20 21:30:30 +03:00
# Maybe get and clean and patch source
2021-10-15 16:02:27 +03:00
- if [[ -n "$LATEST" ]]; then BUILD_COMMIT=main; fi
2016-06-20 21:30:30 +03:00
- clean_code $REPO_DIR $BUILD_COMMIT
- build_wheel $REPO_DIR $PLAT
- ls -l "${TRAVIS_BUILD_DIR}/${WHEEL_SDIR}/"
2014-06-28 20:30:10 +04:00
script:
2016-06-20 21:30:30 +03:00
- install_run $PLAT
# Upload wheels to GitHub Releases
deploy:
provider: releases
2021-09-15 16:39:03 +03:00
api_key: $GITHUB_RELEASE_TOKEN
file_glob: true
file: "${TRAVIS_BUILD_DIR}/${WHEEL_SDIR}/*.whl"
on:
condition: -z "$LATEST"
repo: python-pillow/pillow-wheels
skip_cleanup: true