mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +03:00
Updated travis osx_image to 9.4
This commit is contained in:
parent
5008a37c0e
commit
9f2c20cd66
|
@ -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>
|
||||
|
@ -17,7 +18,7 @@ python: 3.5
|
|||
sudo: required
|
||||
dist: trusty
|
||||
services: docker
|
||||
osx_image: xcode6.4
|
||||
osx_image: xcode9.4
|
||||
|
||||
matrix:
|
||||
exclude:
|
||||
|
|
12
config.sh
12
config.sh
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user