9 lines
271 B
Bash
Executable file
9 lines
271 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
export PATH=env/bin:${PATH}
|
|
|
|
coverage run --source=project --omit='*/wsgi.py,*/settings.py,*/migrations/*.py,*__init__*,*/tests.py' manage.py test $@
|
|
flake8 project --ignore=E128,E501 --exclude="migrations,settings,*/wsgi.py"
|
|
coverage report
|