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=""
|
2016-06-21 03:57:56 +03:00
|
|
|
- TEST_DEPENDS="nose numpy scipy"
|
2016-06-20 21:30:30 +03:00
|
|
|
- WHEELHOUSE_UPLOADER_USERNAME=travis-worker
|
|
|
|
# Following generated with
|
|
|
|
# travis encrypt -r python-pillow/pillow-wheels WHEELHOUSE_UPLOADER_SECRET=<the api key>
|
|
|
|
- secure: "ky76goiK6n4k8V9/uG340GSFVwmjE7G76l9xbhhGZkcph4eTwN5VRM/tqyJvlNs/HZOhKSILfyGBeaG8qf7gHmwr0touPT+EjWn4TNV8iyVj75ZshgRE9DuaIAfdH89gW2m+BmvBDyzi0JE3KVCu55NcGm8h7Ecl6nmQ/c2iROY="
|
|
|
|
|
|
|
|
language: python
|
2016-06-24 21:30:12 +03:00
|
|
|
# Default Python version is usually 2.7
|
|
|
|
python: 3.5
|
2016-06-20 21:30:30 +03:00
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
|
|
|
services: docker
|
2016-10-04 21:02:50 +03:00
|
|
|
# Force xcode 6.4 image to work round
|
|
|
|
# https://github.com/python-pillow/pillow-wheels/issues/45
|
|
|
|
osx_image: xcode6.4
|
2016-06-20 21:30:30 +03:00
|
|
|
|
|
|
|
matrix:
|
2016-06-24 21:30:12 +03:00
|
|
|
exclude:
|
|
|
|
# Exclude the default Python 3.5 build
|
|
|
|
- python: 3.5
|
2016-06-20 21:30:30 +03:00
|
|
|
include:
|
|
|
|
- os: linux
|
2016-06-24 21:30:12 +03:00
|
|
|
env:
|
|
|
|
- MB_PYTHON_VERSION=2.7
|
2016-06-20 21:30:30 +03:00
|
|
|
- os: linux
|
|
|
|
env:
|
2016-06-24 21:30:12 +03:00
|
|
|
- MB_PYTHON_VERSION=2.7
|
2016-06-20 21:30:30 +03:00
|
|
|
- UNICODE_WIDTH=16
|
|
|
|
- os: linux
|
|
|
|
env:
|
2016-06-24 21:30:12 +03:00
|
|
|
- MB_PYTHON_VERSION=2.7
|
2016-06-20 21:30:30 +03:00
|
|
|
- PLAT=i686
|
|
|
|
- os: linux
|
|
|
|
env:
|
2016-06-24 21:30:12 +03:00
|
|
|
- MB_PYTHON_VERSION=2.7
|
2016-06-20 21:30:30 +03:00
|
|
|
- PLAT=i686
|
|
|
|
- UNICODE_WIDTH=16
|
|
|
|
- os: linux
|
2016-06-24 21:30:12 +03:00
|
|
|
env:
|
|
|
|
- MB_PYTHON_VERSION=3.4
|
2016-06-20 21:30:30 +03:00
|
|
|
- os: linux
|
|
|
|
env:
|
2016-06-24 21:30:12 +03:00
|
|
|
- MB_PYTHON_VERSION=3.4
|
2016-06-20 21:30:30 +03:00
|
|
|
- PLAT=i686
|
|
|
|
- os: linux
|
2016-06-24 21:30:12 +03:00
|
|
|
env:
|
|
|
|
- MB_PYTHON_VERSION=3.5
|
2016-06-20 21:30:30 +03:00
|
|
|
- os: linux
|
|
|
|
env:
|
2016-06-24 21:30:12 +03:00
|
|
|
- MB_PYTHON_VERSION=3.5
|
2016-06-20 21:30:30 +03:00
|
|
|
- PLAT=i686
|
2017-01-01 18:20:13 +03:00
|
|
|
- os: linux
|
|
|
|
env:
|
|
|
|
- MB_PYTHON_VERSION=3.6
|
|
|
|
- os: linux
|
|
|
|
env:
|
|
|
|
- MB_PYTHON_VERSION=3.6
|
|
|
|
- PLAT=i686
|
2016-06-20 21:30:30 +03:00
|
|
|
- os: osx
|
2016-07-31 23:09:20 +03:00
|
|
|
language: generic
|
2016-06-24 21:30:12 +03:00
|
|
|
env: MB_PYTHON_VERSION=2.7
|
2016-06-20 21:30:30 +03:00
|
|
|
- os: osx
|
2016-07-31 23:09:20 +03:00
|
|
|
language: generic
|
2016-06-20 21:30:30 +03:00
|
|
|
env:
|
2016-06-24 21:30:12 +03:00
|
|
|
- MB_PYTHON_VERSION=3.3
|
2016-08-02 23:51:52 +03:00
|
|
|
# Last numpy / scipy version built for Python 3.3
|
|
|
|
- TEST_DEPENDS="nose numpy==1.11.0 scipy==0.17.1"
|
2016-06-20 21:30:30 +03:00
|
|
|
- os: osx
|
2016-07-31 23:09:20 +03:00
|
|
|
language: generic
|
2016-06-20 21:30:30 +03:00
|
|
|
env:
|
2016-06-24 21:30:12 +03:00
|
|
|
- MB_PYTHON_VERSION=3.4
|
2016-06-20 21:30:30 +03:00
|
|
|
- os: osx
|
2016-07-31 23:09:20 +03:00
|
|
|
language: generic
|
2016-06-20 21:30:30 +03:00
|
|
|
env:
|
2016-06-24 21:30:12 +03:00
|
|
|
- MB_PYTHON_VERSION=3.5
|
2016-12-30 12:52:06 +03:00
|
|
|
- os: osx
|
|
|
|
language: generic
|
|
|
|
env:
|
|
|
|
- MB_PYTHON_VERSION=3.6
|
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
|
|
|
|
- clean_code $REPO_DIR $BUILD_COMMIT
|
|
|
|
- build_wheel $REPO_DIR $PLAT
|
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
|
|
|
|
2016-06-20 21:30:30 +03:00
|
|
|
after_success:
|
|
|
|
# Upload wheels to Rackspace container
|
|
|
|
- pip install wheelhouse-uploader
|
|
|
|
- python -m wheelhouse_uploader upload --local-folder
|
|
|
|
${TRAVIS_BUILD_DIR}/wheelhouse/
|
|
|
|
--no-update-index
|
|
|
|
wheels
|