Skip to content

Commit bdc870a

Browse files
committed
test-manylinux: use docker containers with Python >=2.7 available
1 parent a50fb9c commit bdc870a

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

tools/test-manylinux.sh

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@
22
#
33
#
44
# Tests the manylinux wheels on a plethora of bare-bone Linux docker images.
5+
# To override docker images to test, set env DOCKER_IMAGES.
6+
#
7+
# Usage outside of docker:
8+
# $ tools/test-manylinux.sh
59

610
set -ex
711

8-
echo "$0 running from $(pwd): $*"
12+
echo "$0 running from $(pwd)"
913

1014
function setup_centos {
1115
# CentOS container setup
@@ -26,7 +30,7 @@ function run_single_in_docker {
2630
# Detect OS
2731
if grep -qi centos /etc/system-release /etc/redhat-release ; then
2832
setup_centos
29-
elif grep -qi ubuntu /etc/os-release ; then
33+
elif grep -qiE 'ubuntu|debian' /etc/os-release ; then
3034
setup_ubuntu
3135
else
3236
echo "WARNING: Don't know what platform I'm on: $(uname -a)"
@@ -62,7 +66,9 @@ function run_all_with_docker {
6266
# This is executed on the host.
6367

6468
[[ ! -z $DOCKER_IMAGES ]] || \
65-
DOCKER_IMAGES="ubuntu:14.04 ubuntu:devel centos:6.6 centos:latest"
69+
# LTS and stable release of popular Linux distros.
70+
# We require >= Python 2.7 to be avaialble (which rules out Centos 6.6)
71+
DOCKER_IMAGES="ubuntu:14.04 ubuntu:16.04 ubuntu:17.04 debian:stable centos:7"
6672

6773

6874
_wheels="wheelhouse/*manylinux*.whl"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy