-
-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
23 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,25 @@ | ||
if [ -z $MULTIDICT_NO_EXTENSIONS ]; then | ||
if [ ! -z $TRAVIS_TAG ]; then | ||
echo "x86_64" | ||
docker pull quay.io/pypa/manylinux1_x86_64 | ||
docker run --rm -v `pwd`:/io quay.io/pypa/manylinux1_x86_64 /io/build-wheels.sh | ||
echo "Dist folder content is:" | ||
for f in dist/*.whl | ||
do | ||
echo "Upload $f" | ||
python -m twine upload $f --username andrew.svetlov --password $PYPI_PASSWD | ||
done | ||
echo "Cleanup" | ||
docker run --rm -v `pwd`:/io quay.io/pypa/manylinux1_x86_64 rm -rf /io/dist | ||
|
||
echo "i686" | ||
docker pull quay.io/pypa/manylinux1_i686 | ||
docker run --rm -v `pwd`:/io quay.io/pypa/manylinux1_i686 linux32 /io/build-wheels.sh | ||
echo "Dist folder content is:" | ||
ls dist | ||
fi | ||
|
||
if [ ! -z $TRAVIS_TAG ]; then | ||
echo "Upload dists to PyPI" | ||
ls | ||
for f in dist/*.whl | ||
do | ||
if [[ f == *"linux_x86_64"* ]] | ||
then | ||
docker run --rm -v `pwd`:/io auditwheel quay.io/pypa/manylinux1_x86_64 repair $f | ||
fi | ||
if [[ f == *"linux_i686"* ]] | ||
then | ||
docker run --rm -v `pwd`:/io auditwheel quay.io/pypa/manylinux1_i686 linux32 repair $f | ||
fi | ||
echo "Upload $f" | ||
python -m twine upload $f --username andrew.svetlov --password $PYPI_PASSWD | ||
done | ||
fi | ||
|
||
|
||
if [ -z $MULTIDICT_NO_EXTENSIONS ]; then | ||
docker run --rm -v `pwd`:/io quay.io/pypa/manylinux1_x86_64 rm -rf /io/dist | ||
echo "Cleanup" | ||
docker run --rm -v `pwd`:/io quay.io/pypa/manylinux1_i686 rm -rf /io/dist | ||
fi |