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