upgraded to python 3.6
parent
b79d9f7096
commit
f465a76cdd
|
@ -14,4 +14,4 @@ script:
|
|||
- python manage.py cov
|
||||
|
||||
after_success:
|
||||
coveralls
|
||||
- coveralls
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue