2014-06-28 20:30:10 +04:00
|
|
|
env:
|
2015-09-18 23:41:42 +03:00
|
|
|
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=""
|
2022-03-19 15:06:19 +03:00
|
|
|
- TEST_DEPENDS="pytest pytest-timeout"
|
2016-06-20 21:30:30 +03:00
|
|
|
|
|
|
|
language: python
|
2020-03-19 00:06:32 +03:00
|
|
|
# Default Python version is usually 3.6
|
2022-01-24 00:33:43 +03:00
|
|
|
python: "3.10"
|
2021-05-20 04:39:39 +03:00
|
|
|
dist: focal
|
2016-06-20 21:30:30 +03:00
|
|
|
services: docker
|
|
|
|
|
2020-03-18 12:09:30 +03:00
|
|
|
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
|
2020-08-07 14:25:53 +03:00
|
|
|
- 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
|
2015-09-18 23:41:42 +03:00
|
|
|
|
2020-07-07 18:03:04 +03:00
|
|
|
# Upload wheels to GitHub Releases
|
|
|
|
deploy:
|
|
|
|
provider: releases
|
2021-09-15 16:39:03 +03:00
|
|
|
api_key: $GITHUB_RELEASE_TOKEN
|
2020-07-07 18:03:04 +03:00
|
|
|
file_glob: true
|
|
|
|
file: "${TRAVIS_BUILD_DIR}/${WHEEL_SDIR}/*.whl"
|
|
|
|
on:
|
|
|
|
condition: -z "$LATEST"
|
|
|
|
repo: python-pillow/pillow-wheels
|
|
|
|
skip_cleanup: true
|