Merge pull request #398 from radarhere/travis

Fix Travis builds
This commit is contained in:
mergify[bot] 2023-08-15 15:54:28 +00:00 committed by GitHub
commit e09fab7278
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@ env:
- REPO_DIR=Pillow
- BUILD_COMMIT=HEAD
- PLAT=aarch64
- TEST_DEPENDS="pytest pytest-timeout"
- TEST_DEPENDS="pytest-timeout"
language: python
# Default Python version is usually 3.6
@ -117,7 +117,10 @@ before_install:
install:
# Maybe get and clean and patch source
- clean_code
- build_wheel
- libc=${MB_ML_LIBC:-manylinux}
- docker_image="quay.io/pypa/${MB_ML_LIBC:-manylinux}${MB_ML_VER}_${PLAT}"
- retry docker pull $docker_image
- docker run --rm -e BUILD_COMMANDS="build_wheel" -e PYTHON_VERSION="$MB_PYTHON_VERSION" -e MB_PYTHON_VERSION="$MB_PYTHON_VERSION" -e BUILD_COMMIT="HEAD" -e REPO_DIR="$REPO_DIR" -e PLAT="$PLAT" -e MB_ML_VER="$MB_ML_VER" -e MB_ML_LIBC="$libc" -v $PWD:/io -v $HOME:/parent-home $docker_image /io/$MULTIBUILD_DIR/docker_build_wrap.sh
- ls -l "${TRAVIS_BUILD_DIR}/${WHEEL_SDIR}/"
script: