forked from aio-libs/aiohttp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_docker.sh
executable file
·25 lines (24 loc) · 1006 Bytes
/
run_docker.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
if [ ! -z $TRAVIS_TAG ] && [ -z $PYTHONASYNCIODEBUG ] && [ -z $AIOHTTP_NO_EXTENSIONS] ;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/aiohttp*manylinux1_x86_64.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:"
for f in dist/aiohttp*manylinux1_i686.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_i686 rm -rf /io/dist
fi