Skip to content

Commit 3875a20

Browse files
committed
Administrivia
1 parent ac96e5c commit 3875a20

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
/.eggs
88
/.hypothesis
99
/.idea
10+
/.jython_cache
1011
/.pytest_cache
1112
/.python-version
1213
/.tox
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#!/bin/bash
2+
function finish {
3+
if [[ -n ${python_control_flow_owd} ]] && [[ -d $python_control_flow_owd ]]; then
4+
cd $python_control_flow_owd
5+
fi
6+
}
7+
8+
# FIXME put some of the below in a common routine
9+
python_control_flow_owd=$(pwd)
10+
# trap finish EXIT
11+
12+
cd $(dirname ${BASH_SOURCE[0]})
13+
if ! source ./pyenv-3.8-3.10-versions ; then
14+
exit $?
15+
fi
16+
17+
. ./setup-python-3.8.sh
18+
19+
cd ..
20+
for version in $PYVERSIONS; do
21+
if ! pyenv local $version ; then
22+
exit $?
23+
fi
24+
python --version
25+
make clean && pip install -e .
26+
if ! make check; then
27+
exit $?
28+
fi
29+
echo === $version ===
30+
done

0 commit comments

Comments
 (0)