travis/install_pyenv: Refactor code introducing "_execute_script" function
travis/install_pyenv: Refactor code introducing "_execute_script" function

scikit-build/scikit-ci-addons,scikit-build/scikit-ci-addons