Created
February 17, 2011 07:18
-
-
Save minrk/831213 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
info(){ | |
echo "****************************************" | |
echo "INFO: $@" | |
} | |
fail(){ | |
echo "****************************************" | |
echo "FAILED: $@" | |
exit -1 | |
} | |
python setup.py clean | |
python setup.py cython | |
for py in python3.2 python3.1 python2.5 python2.7 python2.6; do | |
rm -rf build | |
python setup.py clean | |
info "building on $py" | |
$py setup.py build_ext --inplace >/dev/null || fail "couldn't build with $py" | |
info "testing on $py" | |
$py setup.py test || info "failed test on $py" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment