diff --git a/.travis.yml b/.travis.yml index 1cfde811c..3f333784f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: