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