2015-02-21 14:08:50 +01:00
|
|
|
set -e
|
2017-04-30 23:00:45 +02:00
|
|
|
set -x
|
2015-02-21 14:08:50 +01:00
|
|
|
. tests/bot-ci/scripts/common/main.sh
|
2017-04-30 23:00:45 +02:00
|
|
|
zmodload zpython || zmodload libzpython
|
|
|
|
zpython 'import zsh'
|
2015-02-21 14:08:50 +01:00
|
|
|
zpython 'import platform'
|
|
|
|
zpython 'zsh.setvalue("ZSH_PYTHON_VERSION", platform.python_version())'
|
|
|
|
zpython 'zsh.setvalue("ZSH_PYTHON_IMPLEMENTATION", platform.python_implementation())'
|
|
|
|
|
|
|
|
[[ $ZSH_PYTHON_IMPLEMENTATION = $PYTHON_IMPLEMENTATION ]]
|
|
|
|
[[ $ZSH_PYTHON_VERSION = $PYTHON_VERSION ]]
|