You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-04 01:09:52 +08:00
Add check program for Python 3.3-3.5
This commit is contained in:
27
admin-tools/check-3.3-3.5-versions.sh
Executable file
27
admin-tools/check-3.3-3.5-versions.sh
Executable file
@@ -0,0 +1,27 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
function finish {
|
||||||
|
cd $owd
|
||||||
|
}
|
||||||
|
owd=$(pwd)
|
||||||
|
trap finish EXIT
|
||||||
|
|
||||||
|
cd $(dirname ${BASH_SOURCE[0]})
|
||||||
|
if ! source ./pyenv-3.3-3.5-versions ; then
|
||||||
|
exit $?
|
||||||
|
fi
|
||||||
|
if ! source ./setup-python-3.3.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
|
Reference in New Issue
Block a user