From a06e44772e4e1e5267949f1ab1558d7d56519e0f Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 7 Jun 2020 12:11:01 -0700 Subject: [PATCH] ci/travis-install.sh: Install python3-six package Additionally, report the Python3 path and version. Signed-off-by: Bart Van Assche Signed-off-by: Jens Axboe --- ci/travis-install.sh | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/ci/travis-install.sh b/ci/travis-install.sh index 096347ec..8a4f40e5 100755 --- a/ci/travis-install.sh +++ b/ci/travis-install.sh @@ -2,6 +2,7 @@ case "$TRAVIS_OS_NAME" in "linux") + # Architecture-dependent packages. pkgs=( libaio-dev libcunit1 @@ -16,16 +17,27 @@ case "$TRAVIS_OS_NAME" in ) if [[ "$BUILD_ARCH" == "x86" ]]; then pkgs=("${pkgs[@]/%/:i386}") - pkgs+=(gcc-multilib python3-scipy) + pkgs+=(gcc-multilib) else - pkgs+=(glusterfs-common python3-scipy) + pkgs+=(glusterfs-common) fi + # Architecture-independent packages and packages for which we don't + # care about the architecture. + pkgs+=( + python3 + python3-scipy + python3-six + ) sudo apt-get -qq update sudo apt-get install --no-install-recommends -qq -y "${pkgs[@]}" ;; "osx") - brew update + brew update >/dev/null 2>&1 brew install cunit pip3 install scipy ;; esac + +echo "Python version: $(/usr/bin/python -V 2>&1)" +echo "Python3 path: $(which python3 2>&1)" +echo "Python3 version: $(python3 -V 2>&1)" -- 2.25.1