File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
2- # Run tests over all Python versions in branch python-3.7-3.10
3- set -e
42function finish {
5- cd $decompyle3_check_owd
3+ if [[ -n ${python_control_flow_owd} ]] && [[ -d $python_control_flow_owd ]]; then
4+ cd $python_control_flow_owd
5+ fi
66}
7- decompyle3_check_owd=$( pwd)
8- trap finish EXIT
7+
8+ # FIXME put some of the below in a common routine
9+ python_control_flow_owd=$( pwd)
10+ # trap finish EXIT
911
1012cd $( dirname ${BASH_SOURCE[0]} )
1113if ! source ./pyenv-3.7-3.10-versions ; then
1214 exit $?
1315fi
14- if ! source ./setup-python-3.7.sh ; then
15- exit $?
16- fi
16+
17+ . ./setup-python-3.7.sh
1718
1819cd ..
1920for version in $PYVERSIONS ; do
20- echo --- $version ---
2121 if ! pyenv local $version ; then
2222 exit $?
2323 fi
24- make clean && python setup.py develop
25- if ! make check ; then
24+ python --version
25+ make clean && pip install -e .
26+ if ! make check; then
2627 exit $?
2728 fi
2829 echo === $version ===
2930done
30- finish
You can’t perform that action at this time.
0 commit comments