File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 2
2
#
3
3
#
4
4
# 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
5
9
6
10
set -ex
7
11
8
- echo " $0 running from $( pwd) : $* "
12
+ echo " $0 running from $( pwd) "
9
13
10
14
function setup_centos {
11
15
# CentOS container setup
@@ -26,7 +30,7 @@ function run_single_in_docker {
26
30
# Detect OS
27
31
if grep -qi centos /etc/system-release /etc/redhat-release ; then
28
32
setup_centos
29
- elif grep -qi ubuntu /etc/os-release ; then
33
+ elif grep -qiE ' ubuntu|debian ' /etc/os-release ; then
30
34
setup_ubuntu
31
35
else
32
36
echo " WARNING: Don't know what platform I'm on: $( uname -a) "
@@ -62,7 +66,9 @@ function run_all_with_docker {
62
66
# This is executed on the host.
63
67
64
68
[[ ! -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"
66
72
67
73
68
74
_wheels=" wheelhouse/*manylinux*.whl"
You can’t perform that action at this time.
0 commit comments