Skip to content

Commit 66c39c5

Browse files
authored
Build wheels for multiple platforms (#234)
* Build and test wheel on manylinux2010 as well as manylinux1 Set version to 0.12.5 alpha4
1 parent 595cff3 commit 66c39c5

2 files changed

Lines changed: 21 additions & 3 deletions

File tree

.travis.yml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,10 @@ jobs:
5252
- travis_retry pip install -U mypy
5353
script:
5454
- mypy anonlink --ignore-missing-imports
55-
- stage: Build wheels
55+
- stage: "Build wheels"
56+
name: "manylinux1_x86_64"
5657
sudo: required
57-
#if: tag IS present
58+
if: tag IS present
5859
python: "3.6"
5960
services:
6061
- docker
@@ -69,3 +70,20 @@ jobs:
6970
- ls wheelhouse/
7071
- python -m twine upload --skip-existing wheelhouse/anonlink*manylinux1_x86_64.whl
7172
- python -m twine upload --skip-existing wheelhouse/anonlink*.tar.gz
73+
- name: "manylinux2010_x86_64"
74+
sudo: required
75+
if: tag IS present
76+
python: "3.6"
77+
services:
78+
- docker
79+
env:
80+
- PLAT=manylinux2010_x86_64
81+
- TWINE_USERNAME=confidentialcomputing
82+
install:
83+
- docker pull quay.io/pypa/manylinux1_x86_64
84+
- travis_retry pip install -U twine
85+
script:
86+
- docker run --rm -e PLAT=$PLAT -v `pwd`:/io quay.io/pypa/manylinux2010_x86_64 /io/travis/build-dist.sh
87+
- ls wheelhouse/
88+
- python -m twine upload --skip-existing wheelhouse/anonlink*manylinux2010_x86_64.whl
89+

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646

4747
setup(
4848
name="anonlink",
49-
version='0.12.5a1',
49+
version='0.12.5a4',
5050
description='Anonymous linkage using cryptographic hashes and bloom filters',
5151
long_description=readme,
5252
long_description_content_type='text/x-rst',

0 commit comments

Comments
 (0)