ponytracker/coverage.sh
2014-08-22 17:03:41 -07:00

11 lines
159 B
Bash
Executable file

#!/bin/bash
. env/bin/activate
which coverage >/dev/null 2>&1
if [ "$?" -ne 0 ]; then
pip install coverage
fi
coverage run manage.py test
coverage report