Created
October 6, 2011 17:34
-
-
Save ojii/1268048 to your computer and use it in GitHub Desktop.
local mini ci
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
#!/bin/sh | |
run_tests() | |
{ | |
COMMAND TO RUN YOUR TESTS | |
if [ "$?" != "0" ] | |
then | |
notify-send "BUILD FAILED" -i "error" | |
else | |
notify-send "Build Successful" | |
fi | |
} | |
run_tests | |
while inotifywait --recursive --event modify py_src; do | |
run_tests | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Checkout this one as well, http://pypi.python.org/pypi/PyZen/