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 - python manage.py cov
after_success: after_success:
coveralls - coveralls

View File

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