update appveyor to go 1.11, add support for code coverage generation in tests

This commit is contained in:
Ajitem Sahasrabuddhe
2019-08-04 12:16:07 +05:30
parent 826954c979
commit b6bfbe97f8
4 changed files with 33 additions and 25 deletions

View File

@@ -34,10 +34,6 @@ def main(sysargs=sys.argv[:]):
def _test():
if check_output('go version'.split()).split()[2] < 'go1.2':
_run('go test -v .')
return
coverprofiles = []
for subpackage in ['', 'altsrc']:
coverprofile = 'cli.coverprofile'