diff --git a/admin-tools/check-3.0-3.2-versions.sh b/admin-tools/check-3.0-3.2-versions.sh new file mode 100644 index 00000000..2e4115dd --- /dev/null +++ b/admin-tools/check-3.0-3.2-versions.sh @@ -0,0 +1,26 @@ +#!/bin/bash +# Run tests over all Python versions in branch python-3.0-3.2 + +owd=$(pwd) + +cd $(dirname ${BASH_SOURCE[0]}) +if ! source ./pyenv-3.0-3.2-versions ; then + exit $? +fi +if ! source ./setup-python-3.0.sh ; then + exit $? +fi + +cd .. +for version in $PYVERSIONS; do + echo --- $version --- + if ! pyenv local $version ; then + exit $? + fi + make clean && python setup.py develop + if ! make check ; then + exit $? + fi + echo === $version === +done +cd $owd