1 2 3 4 5 6 7 8
#!/bin/bash set -e python setup.py testr --coverage RET=$? coverage report -m rm -f .coverage exit $RET