#!/bin/sh
# Run all tests and generate coverage report

coverage run --omit textx/six.py --source textx -m py.test tests/functional || exit 1
coverage report --fail-under 90 || exit 1
# Run this to generate html report
# coverage html --omit textx/six.py --directory=coverage
flake8 || exit 1

#!/bin/sh
# Run all tests and generate coverage report

coverage run --omit textx/six.py --source textx -m py.test tests/functional || exit 1
coverage report --fail-under 90 || exit 1
# Run this to generate html report
# coverage html --directory=coverage
flake8 || exit 1

Remove unneeded flag in calling coverage for html
Remove unneeded flag in calling coverage for html
