From 4967a81a982be04a4b0707a518605fe0410355d8 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Mon, 22 Jul 2019 22:57:52 +1000 Subject: [PATCH] Also test latest Pillow --- .travis.yml | 136 +++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 119 insertions(+), 17 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2af4ba4d6..36ce7796c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,62 +24,161 @@ matrix: # Exclude the default Python 3.5 build - python: 3.5 include: - - os: osx + - name: "2.7 macOS" + os: osx language: generic env: MB_PYTHON_VERSION=2.7 - - os: osx + - name: "3.5 macOS" + os: osx language: generic env: - MB_PYTHON_VERSION=3.5 - - os: linux + - name: "2.7 Xenial" + os: linux env: - MB_PYTHON_VERSION=2.7 - - os: linux + - name: "2.7 Xenial UNICODE_WIDTH=16" + os: linux env: - MB_PYTHON_VERSION=2.7 - UNICODE_WIDTH=16 - - os: linux + - name: "2.7 Xenial 32-bit" + os: linux env: - MB_PYTHON_VERSION=2.7 - PLAT=i686 - - os: linux + - name: "2.7 Xenial 32-bit UNICODE_WIDTH=16" + os: linux env: - MB_PYTHON_VERSION=2.7 - PLAT=i686 - UNICODE_WIDTH=16 - - os: linux + - name: "3.5 Xenial" + os: linux env: - MB_PYTHON_VERSION=3.5 - - os: osx + - name: "3.6 macOS" + os: osx language: generic env: - MB_PYTHON_VERSION=3.6 - - os: osx + - name: "3.7 macOS" + os: osx language: generic env: - MB_PYTHON_VERSION=3.7 - - os: linux + - name: "3.5 Xenial 32-bit" + os: linux env: - MB_PYTHON_VERSION=3.5 - PLAT=i686 - - os: linux + - name: "3.6 Xenial" + os: linux env: - MB_PYTHON_VERSION=3.6 - - os: linux + - name: "3.6 Xenial 32-bit" + os: linux env: - MB_PYTHON_VERSION=3.6 - PLAT=i686 - - os: linux + - name: "3.7 Xenial" + os: linux env: - MB_PYTHON_VERSION=3.7 - - os: linux + - name: "3.7 Xenial 32-bit" + os: linux env: - MB_PYTHON_VERSION=3.7 - PLAT=i686 + - name: "2.7 macOS latest" + os: osx + language: generic + env: + - MB_PYTHON_VERSION=2.7 + - LATEST="true" + - name: "3.5 macOS latest" + os: osx + language: generic + env: + - MB_PYTHON_VERSION=3.5 + - LATEST="true" + + - name: "2.7 Xenial latest" + os: linux + env: + - MB_PYTHON_VERSION=2.7 + - LATEST="true" + - name: "2.7 Xenial UNICODE_WIDTH=16 latest" + os: linux + env: + - MB_PYTHON_VERSION=2.7 + - UNICODE_WIDTH=16 + - LATEST="true" + - name: "2.7 Xenial 32-bit latest" + os: linux + env: + - MB_PYTHON_VERSION=2.7 + - PLAT=i686 + - LATEST="true" + - name: "2.7 Xenial 32-bit UNICODE_WIDTH=16 latest" + os: linux + env: + - MB_PYTHON_VERSION=2.7 + - PLAT=i686 + - UNICODE_WIDTH=16 + - LATEST="true" + - name: "3.5 Xenial latest" + os: linux + env: + - MB_PYTHON_VERSION=3.5 + - LATEST="true" + + - name: "3.6 macOS latest" + os: osx + language: generic + env: + - MB_PYTHON_VERSION=3.6 + - LATEST="true" + - name: "3.7 macOS latest" + os: osx + language: generic + env: + - MB_PYTHON_VERSION=3.7 + - LATEST="true" + + - name: "3.5 Xenial 32-bit latest" + os: linux + env: + - MB_PYTHON_VERSION=3.5 + - PLAT=i686 + - LATEST="true" + - name: "3.6 Xenial latest" + os: linux + env: + - MB_PYTHON_VERSION=3.6 + - LATEST="true" + - name: "3.6 Xenial 32-bit latest" + os: linux + env: + - MB_PYTHON_VERSION=3.6 + - PLAT=i686 + - LATEST="true" + - name: "3.7 Xenial latest" + os: linux + env: + - MB_PYTHON_VERSION=3.7 + - LATEST="true" + - name: "3.7 Xenial 32-bit latest" + os: linux + env: + - MB_PYTHON_VERSION=3.7 + - PLAT=i686 + - LATEST="true" + before_install: - source multibuild/common_utils.sh @@ -89,6 +188,7 @@ before_install: install: # Maybe get and clean and patch source - clean_code $REPO_DIR $BUILD_COMMIT + - if [[ -n "$LATEST" ]]; then git submodule update --remote --merge $REPO_DIR; fi - build_wheel $REPO_DIR $PLAT script: @@ -96,8 +196,10 @@ script: after_success: # Upload wheels to Rackspace container - - pip install wheelhouse-uploader - - python -m wheelhouse_uploader upload --local-folder + - if [[ -z "$LATEST" ]]; then + pip install wheelhouse-uploader; + python -m wheelhouse_uploader upload --local-folder ${TRAVIS_BUILD_DIR}/wheelhouse/ --no-update-index - wheels + wheels; + fi \ No newline at end of file