python-uncompyle6/admin-tools/check-3.0-3.2-versions.sh
rocky ab7980374d
Some checks failed
uncompyle6 (osx) / build (macOS, 3.8) (push) Has been cancelled
uncompyle6 (ubuntu) / build (3.8) (push) Has been cancelled
uncompyle6 (windows) / build (windows, 3.8) (push) Has been cancelled
Allow for newer spark-parser
2024-11-09 06:37:59 -05:00

32 lines
528 B
Bash
Executable File

#!/bin/bash
# Run tests over all Python versions in branch python-3.0-3.2
set -e
function finish {
cd $owd
}
owd=$(pwd)
trap finish EXIT
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
finish