From 2f7c64d896fc21d5c87860666939d223ddf20886 Mon Sep 17 00:00:00 2001 From: Andris Raugulis Date: Tue, 28 Mar 2017 10:25:55 +0300 Subject: [PATCH] Report python version in CI. --- test/tools/ci-linux.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/tools/ci-linux.sh b/test/tools/ci-linux.sh index c95f389..543b213 100755 --- a/test/tools/ci-linux.sh +++ b/test/tools/ci-linux.sh @@ -94,7 +94,7 @@ ci_pyenv_use() { local _py_ver=$(ci_get_py_ver "$1") pyenv shell "${_py_ver}" ci_err $? "pyenv could not use ${_py_ver}" - [ ${CI_VERBOSE} -gt 0 ] && echo "[ci] using python version: $(python -V 2>&1)" + [ ${CI_VERBOSE} -gt 0 ] && echo "[ci] using python: $(python -V 2>&1)" } ci_pip_setup() { @@ -131,7 +131,7 @@ ci_venv_use() { local _py_env=$(ci_get_py_env "${_py_ver}") local VENV_DIR=~/.venv/${_py_ver} . "${VENV_DIR}/bin/activate" - [ ${CI_VERBOSE} -gt 0 ] && echo "[ci] virtualenv python path: $(which python)" + [ ${CI_VERBOSE} -gt 0 ] && echo "[ci] using python: $(python -V 2>&1)" } ci_run_wrapped() {