-
Notifications
You must be signed in to change notification settings - Fork 0
/
bitbucket-pipelines.yml
30 lines (30 loc) · 1.08 KB
/
bitbucket-pipelines.yml
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
26
27
28
29
30
pipelines:
default:
- parallel:
- step:
name: 64 bit linux wheels
image: quay.io/pypa/manylinux2010_x86_64
caches:
- pip
script:
- for py in 36 37 38; do echo building Python${py} wheel; for pip in /opt/python/cp${py}*/bin/pip; do $pip wheel .; done; done
- for wheel in *.whl; do auditwheel repair $wheel -w wheelhouse; done
artifacts:
- wheelhouse/*
- step:
name: 32 bit linux wheels
image: quay.io/pypa/manylinux2010_i686
caches:
- pip
script:
- for py in 36 37 38; do echo building Python${py} wheel; for pip in /opt/python/cp${py}*/bin/pip; do linux32 $pip wheel .; done; done
- for wheel in *.whl; do auditwheel repair $wheel -w wheelhouse; done
artifacts:
- wheelhouse/*
- step:
trigger: manual
name: Upload to PyPI
image: python:3.8
script:
- pip install twine
- twine upload --skip-existing -u $PYPI_USER -p $PYPI_PASS wheelhouse/*