File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ notifications :
2+ email : false
3+
4+ matrix :
5+ include :
6+ - sudo : required
7+ services :
8+ - docker
9+ env : DOCKER_IMAGE=quay.io/pypa/manylinux_2_24_x86_64
10+ PLAT=manylinux_2_24_x86_64
11+ - sudo : required
12+ services :
13+ - docker
14+ env : DOCKER_IMAGE=quay.io/pypa/manylinux_2_24_x86_64
15+ PRE_CMD=linux32
16+ PLAT=manylinux_2_24_i686
17+ - sudo : required
18+ services :
19+ - docker
20+ env : DOCKER_IMAGE=quay.io/pypa/manylinux_2_28_x86_64
21+ PLAT=manylinux_2_28_x86_64
22+
23+ install :
24+ - docker pull $DOCKER_IMAGE
25+
26+ script :
27+ - docker run --rm -e PLAT=$PLAT -v `pwd`:/io $DOCKER_IMAGE $PRE_CMD /io/travis/build-wheels.sh
28+ - ls wheelhouse/
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ set -e -u -x
3+
4+ function repair_wheel {
5+ wheel=" $1 "
6+ if ! auditwheel show " $wheel " ; then
7+ echo " Skipping non-platform wheel $wheel "
8+ else
9+ auditwheel repair " $wheel " --plat " $PLAT " -w /io/wheelhouse/
10+ fi
11+ }
12+
13+
14+ # Install a system package required by our library
15+ dnf install -y clang clang-tools-extra
16+
17+ # Compile wheels
18+ for PYBIN in /opt/python/* /bin; do
19+ " ${PYBIN} /pip" install -r /io/dev-requirements.txt
20+ " ${PYBIN} /pip" wheel /io/ --no-deps -w wheelhouse/
21+ done
22+
23+ # Bundle external shared libraries into the wheels
24+ for whl in wheelhouse/* .whl; do
25+ repair_wheel " $whl "
26+ done
27+
28+ # Install packages and test
29+ for PYBIN in /opt/python/* /bin/; do
30+ " ${PYBIN} /pip" install python_ics --no-index -f /io/wheelhouse
31+ (cd " $HOME " ; " ${PYBIN} /nosetests" python_ics)
32+ done
You can’t perform that action at this time.
0 commit comments