upgraded to python 3.6

main
Michael Herman 2017-02-05 13:11:46 -07:00
parent b79d9f7096
commit f465a76cdd
2 changed files with 2 additions and 5 deletions

View File

@ -14,4 +14,4 @@ script:
- python manage.py cov
after_success:
coveralls
- coveralls

View File

@ -50,10 +50,7 @@ def cov():
COV.save()
print('Coverage Summary:')
COV.report()
basedir = os.path.abspath(os.path.dirname(__file__))
covdir = os.path.join(basedir, 'coverage')
COV.html_report(directory=covdir)
print('HTML version: file://%s/index.html' % covdir)
COV.html_report()
COV.erase()
return 0
return 1