Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Commit e09fab7

Browse files
authored
Merge pull request #398 from radarhere/travis
Fix Travis builds
2 parents cfd5c8a + 41eae5f commit e09fab7

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ env:
33
- REPO_DIR=Pillow
44
- BUILD_COMMIT=HEAD
55
- PLAT=aarch64
6-
- TEST_DEPENDS="pytest pytest-timeout"
6+
- TEST_DEPENDS="pytest-timeout"
77

88
language: python
99
# Default Python version is usually 3.6
@@ -117,7 +117,10 @@ before_install:
117117
install:
118118
# Maybe get and clean and patch source
119119
- clean_code
120-
- build_wheel
120+
- libc=${MB_ML_LIBC:-manylinux}
121+
- docker_image="quay.io/pypa/${MB_ML_LIBC:-manylinux}${MB_ML_VER}_${PLAT}"
122+
- retry docker pull $docker_image
123+
- 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
121124
- ls -l "${TRAVIS_BUILD_DIR}/${WHEEL_SDIR}/"
122125

123126
script:

0 commit comments

Comments
 (0)