File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed
Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ function finish {
3+ cd $trepan3k_owd
4+ }
5+
6+ # FIXME put some of the below in a common routine
7+ trepan3k_owd=$( pwd)
8+ # trap finish EXIT
9+
10+ cd $( dirname ${BASH_SOURCE[0]} )
11+ if ! source ./pyenv-3.0-3.2-versions ; then
12+ exit $?
13+ fi
14+
15+ if ! source ./setup-python-3.0.sh ; then
16+ exit $?
17+ fi
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
31+ finish
Original file line number Diff line number Diff line change 1+ # -*- shell-script -*-
2+ # Sets PYVERSIONS to be pyenv versions that
3+ # we can use in the python-3.0-to-3.2 branch.
4+
5+ if [[ $0 == ${BASH_SOURCE[0]} ]] ; then
6+ echo " This script should be *sourced* rather than run directly through bash"
7+ exit 1
8+ fi
9+ export PYVERSIONS=' 3.0 3.1 3.2'
You can’t perform that action at this time.
0 commit comments