Pillow/.travis.yml

249 lines
5.7 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"
2018-10-13 13:54:45 +03:00
- MACOSX_DEPLOYMENT_TARGET=10.10
2016-06-20 21:30:30 +03:00
language: python
# Default Python version is usually 3.6
2020-06-30 18:18:07 +03:00
python: 3.8
dist: xenial
2016-06-20 21:30:30 +03:00
services: docker
jobs:
2016-06-20 21:30:30 +03:00
include:
2019-10-22 21:52:45 +03:00
- name: "3.6 macOS"
os: osx
osx_image: xcode9.3
2019-10-22 21:52:45 +03:00
language: generic
env:
2019-10-22 21:52:45 +03:00
- MB_PYTHON_VERSION=3.6
- name: "3.6 Xenial"
2019-07-22 15:57:52 +03:00
os: linux
2016-06-20 21:30:30 +03:00
env:
2019-10-22 21:52:45 +03:00
- MB_PYTHON_VERSION=3.6
- name: "3.6 Xenial 32-bit"
2019-07-22 15:57:52 +03:00
os: linux
env:
2017-12-27 22:24:36 +03:00
- MB_PYTHON_VERSION=3.6
2019-10-22 21:52:45 +03:00
- PLAT=i686
2019-07-22 15:57:52 +03:00
- name: "3.7 macOS"
os: osx
osx_image: xcode9.3
language: generic
env:
- MB_PYTHON_VERSION=3.7
2019-10-18 12:47:40 +03:00
- name: "3.8 macOS"
os: osx
osx_image: xcode9.3
2019-10-18 12:47:40 +03:00
language: generic
env:
- MB_PYTHON_VERSION=3.8
2019-07-22 15:57:52 +03:00
- name: "3.7 Xenial"
os: linux
env:
- MB_PYTHON_VERSION=3.7
2019-07-22 15:57:52 +03:00
- name: "3.7 Xenial 32-bit"
os: linux
env:
- MB_PYTHON_VERSION=3.7
- PLAT=i686
2019-10-18 12:47:40 +03:00
- name: "3.8 Xenial"
os: linux
env:
- MB_PYTHON_VERSION=3.8
- name: "3.8 Xenial 32-bit"
os: linux
env:
- MB_PYTHON_VERSION=3.8
- PLAT=i686
2020-06-28 07:57:13 +03:00
- name: "3.6 macOS PyPy"
os: osx
osx_image: xcode9.3
language: generic
env:
- MB_PYTHON_VERSION=pypy3.6-7.3
- MB_PYTHON_OSX_VER=10.9
2020-06-27 02:13:53 +03:00
- name: "3.6 Xenial 64-bit PyPy"
os: linux
env:
- MB_PYTHON_VERSION=pypy3.6-7.3
- MB_ML_VER=2010
- DOCKER_TEST_IMAGE=multibuild/xenial_{PLAT}
2020-06-28 11:59:15 +03:00
- name: "3.6 Xenial aarch64"
arch: arm64
env:
- PLAT=aarch64
- MB_ML_VER=2014
- MB_PYTHON_VERSION=3.6
- DOCKER_TEST_IMAGE=multibuild/xenial_{PLAT}
- name: "3.7 Xenial aarch64"
arch: arm64
env:
- PLAT=aarch64
- MB_ML_VER=2014
- MB_PYTHON_VERSION=3.7
- DOCKER_TEST_IMAGE=multibuild/xenial_{PLAT}
- name: "3.8 Xenial aarch64"
os: linux
arch: arm64
env:
- PLAT=aarch64
- MB_ML_VER=2014
- MB_PYTHON_VERSION=3.8
- DOCKER_TEST_IMAGE=multibuild/xenial_{PLAT}
2019-10-22 21:52:45 +03:00
- name: "3.6 macOS latest"
2019-07-22 15:57:52 +03:00
os: osx
osx_image: xcode9.3
2019-07-22 15:57:52 +03:00
language: generic
2020-07-07 18:03:17 +03:00
if: tag IS blank
2019-07-22 15:57:52 +03:00
env:
2019-10-22 21:52:45 +03:00
- MB_PYTHON_VERSION=3.6
2019-07-22 15:57:52 +03:00
- LATEST="true"
2019-10-22 21:52:45 +03:00
- name: "3.6 Xenial latest"
2019-07-22 15:57:52 +03:00
os: linux
2020-07-07 18:03:17 +03:00
if: tag IS blank
2019-07-22 15:57:52 +03:00
env:
2019-10-22 21:52:45 +03:00
- MB_PYTHON_VERSION=3.6
2019-07-22 15:57:52 +03:00
- LATEST="true"
2019-10-22 21:52:45 +03:00
- name: "3.6 Xenial 32-bit latest"
2019-07-22 15:57:52 +03:00
os: linux
2020-07-07 18:03:17 +03:00
if: tag IS blank
2019-07-22 15:57:52 +03:00
env:
- MB_PYTHON_VERSION=3.6
2019-10-22 21:52:45 +03:00
- PLAT=i686
2019-07-22 15:57:52 +03:00
- LATEST="true"
2019-10-22 21:52:45 +03:00
2019-07-22 15:57:52 +03:00
- name: "3.7 macOS latest"
os: osx
osx_image: xcode9.3
2019-07-22 15:57:52 +03:00
language: generic
2020-07-07 18:03:17 +03:00
if: tag IS blank
2019-07-22 15:57:52 +03:00
env:
- MB_PYTHON_VERSION=3.7
- LATEST="true"
2019-10-18 12:47:40 +03:00
- name: "3.8 macOS latest"
os: osx
osx_image: xcode9.3
2019-10-18 12:47:40 +03:00
language: generic
2020-07-07 18:03:17 +03:00
if: tag IS blank
2019-10-18 12:47:40 +03:00
env:
- MB_PYTHON_VERSION=3.8
- LATEST="true"
2019-07-22 15:57:52 +03:00
- name: "3.7 Xenial latest"
os: linux
2020-07-07 18:03:17 +03:00
if: tag IS blank
2019-07-22 15:57:52 +03:00
env:
- MB_PYTHON_VERSION=3.7
- LATEST="true"
- name: "3.7 Xenial 32-bit latest"
os: linux
2020-07-07 18:03:17 +03:00
if: tag IS blank
2019-07-22 15:57:52 +03:00
env:
- MB_PYTHON_VERSION=3.7
- PLAT=i686
- LATEST="true"
2019-10-18 12:47:40 +03:00
- name: "3.8 Xenial latest"
os: linux
2020-07-07 18:03:17 +03:00
if: tag IS blank
2019-10-18 12:47:40 +03:00
env:
- MB_PYTHON_VERSION=3.8
- LATEST="true"
- name: "3.8 Xenial 32-bit latest"
os: linux
2020-07-07 18:03:17 +03:00
if: tag IS blank
2019-10-18 12:47:40 +03:00
env:
- MB_PYTHON_VERSION=3.8
- PLAT=i686
- LATEST="true"
2019-07-22 15:57:52 +03:00
2020-06-28 07:57:13 +03:00
- name: "3.6 macOS PyPy latest"
os: osx
osx_image: xcode9.3
language: generic
2020-07-07 18:03:17 +03:00
if: tag IS blank
2020-06-28 07:57:13 +03:00
env:
- MB_PYTHON_VERSION=pypy3.6-7.3
- MB_PYTHON_OSX_VER=10.9
- LATEST="true"
2020-06-27 02:13:53 +03:00
- name: "3.6 Xenial 64-bit PyPy latest"
os: linux
2020-07-07 18:03:17 +03:00
if: tag IS blank
2020-06-27 02:13:53 +03:00
env:
- MB_PYTHON_VERSION=pypy3.6-7.3
- MB_ML_VER=2010
- DOCKER_TEST_IMAGE=multibuild/xenial_{PLAT}
- LATEST="true"
2020-06-28 11:59:15 +03:00
- name: "3.6 Xenial aarch64 latest"
os: linux
2020-05-30 23:52:28 +03:00
arch: arm64
2020-07-07 18:03:17 +03:00
if: tag IS blank
2020-05-30 23:52:28 +03:00
env:
- PLAT=aarch64
- MB_ML_VER=2014
- MB_PYTHON_VERSION=3.6
- DOCKER_TEST_IMAGE=multibuild/xenial_{PLAT}
2020-06-28 11:59:15 +03:00
- LATEST="true"
- name: "3.7 Xenial aarch64 latest"
os: linux
2020-05-30 23:52:28 +03:00
arch: arm64
2020-07-07 18:03:17 +03:00
if: tag IS blank
2020-05-30 23:52:28 +03:00
env:
- PLAT=aarch64
- MB_ML_VER=2014
2020-06-28 11:59:15 +03:00
- MB_PYTHON_VERSION=3.7
2020-05-30 23:52:28 +03:00
- DOCKER_TEST_IMAGE=multibuild/xenial_{PLAT}
2020-06-28 11:59:15 +03:00
- LATEST="true"
- name: "3.8 Xenial aarch64 latest"
os: linux
2020-05-30 23:52:28 +03:00
arch: arm64
2020-07-07 18:03:17 +03:00
if: tag IS blank
2020-05-30 23:52:28 +03:00
env:
- PLAT=aarch64
- MB_ML_VER=2014
2020-06-28 11:59:15 +03:00
- MB_PYTHON_VERSION=3.8
2020-05-30 23:52:28 +03:00
- DOCKER_TEST_IMAGE=multibuild/xenial_{PLAT}
2020-06-28 11:59:15 +03:00
- LATEST="true"
2020-05-30 23:52:28 +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
- if [[ -n "$LATEST" ]]; then BUILD_COMMIT=master; 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}/wheelhouse/"
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
api_key:
secure: PTgVG7DrYa2FTSQOq0eDaHDZb1vy0vf6MulyuoXMg8rssPQgJ/mYxRpNDK4V0EKolpN7f8s/OGg+fpNNtp5pOCJGsx0Okcf+YB2ac+Xl7DQPBucbDKFXs1ndf/ny6umk0TXX8JTrDp/mJDJf401yx1+qsZ6X/PFvchXvXVrQ+SQ=
file_glob: true
file: "${TRAVIS_BUILD_DIR}/${WHEEL_SDIR}/*.whl"
on:
condition: -z "$LATEST"
repo: python-pillow/pillow-wheels
tags: true
skip_cleanup: true