Additionally, report the Python3 path and version. Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx> --- 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 096347ec662a..8a4f40e57a3a 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)"