Merge pull request #104 from radarhere/xcode_94

Updated travis osx_image to 9.4
This commit is contained in:
Hugo 2018-12-09 14:57:15 +02:00 committed by GitHub
commit 95d984169d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 1 deletions

View File

@ -6,6 +6,7 @@ env:
- UNICODE_WIDTH=32
- BUILD_DEPENDS=""
- TEST_DEPENDS="pytest pytest-cov numpy scipy"
- MACOSX_DEPLOYMENT_TARGET=10.10
- WHEELHOUSE_UPLOADER_USERNAME=travis-worker
# Following generated with
# travis encrypt -r python-pillow/pillow-wheels WHEELHOUSE_UPLOADER_SECRET=<the api key>
@ -16,7 +17,7 @@ language: python
python: 3.5
dist: trusty
services: docker
osx_image: xcode6.4
osx_image: xcode9.4
matrix:
exclude:

View File

@ -34,7 +34,19 @@ function pre_build {
install_name_tool -id $BUILD_PREFIX/lib/libopenjp2.7.dylib $BUILD_PREFIX/lib/libopenjp2.2.1.0.dylib
fi
build_lcms2
if [ -n "$IS_OSX" ]; then
# Custom flags to allow building on OS X 10.10 and 10.11
build_giflib
ORIGINAL_CPPFLAGS=$CPPFLAGS
CPPFLAGS=""
fi
build_libwebp
if [ -n "$IS_OSX" ]; then
CPPFLAGS=$ORIGINAL_CPPFLAGS
fi
if [ -n "$IS_OSX" ]; then
# Custom freetype build
build_simple freetype $FREETYPE_VERSION https://download.savannah.gnu.org/releases/freetype tar.gz --with-harfbuzz=no