Skip to content

Commit

Permalink
[travis-wheel] don't run unzip with many files
Browse files Browse the repository at this point in the history
  • Loading branch information
squeaky-pl committed Feb 8, 2017
1 parent 9db2e7d commit b73677d
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions misc/travis/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ set -ex

if [[ $JAPR_WHEEL == "1" ]]; then
if [[ $JAPR_OS == "Linux" ]]; then
docker run --rm -u `id -u` -w /io -v `pwd`:/io quay.io/pypa/manylinux1_x86_64 /opt/python/cp35-cp35m/bin/python setup.py bdist_wheel
docker run --rm -u `id -u` -w /io -v `pwd`:/io quay.io/pypa/manylinux1_x86_64 /opt/python/cp36-cp36m/bin/python setup.py bdist_wheel
docker run --rm -u `id -u` -w /io -v `pwd`:/io quay.io/pypa/manylinux1_x86_64 auditwheel repair dist/*-cp35-cp35m-linux_x86_64.whl
docker run --rm -u `id -u` -w /io -v `pwd`:/io quay.io/pypa/manylinux1_x86_64 auditwheel repair dist/*-cp36-cp36m-linux_x86_64.whl
rm -f dist/*.whl
ls -lha wheelhouse
unzip -l wheelhouse/*.whl
for PYTHON_TAG in "cp35-cp35m cp36-cp36m"; do
docker run --rm -u `id -u` -w /io -v `pwd`:/io quay.io/pypa/manylinux1_x86_64 /opt/python/$PYTHON_TAG/bin/python setup.py bdist_wheel
docker run --rm -u `id -u` -w /io -v `pwd`:/io quay.io/pypa/manylinux1_x86_64 auditwheel repair dist/*-$PYTHON_TAG-linux_x86_64.whl
unzip -l wheelhouse/*-$PYTHON_TAG-manylinux1_x86_64.whl
done
rm -f dist/*
cp wheelhouse/*.whl dist
fi

Expand Down

0 comments on commit b73677d

Please sign in to comment.