Browse Source

update coverage_server

master
clowwindy 10 years ago
parent
commit
da65d0a2ee
  1. 2
      tests/coverage_server.py

2
tests/coverage_server.py

@ -11,7 +11,7 @@ if __name__ == '__main__':
with open('/tmp/%s-coverage' % project, 'rb') as f: with open('/tmp/%s-coverage' % project, 'rb') as f:
coverage = f.read().strip() coverage = f.read().strip()
n = int(coverage.strip('%')) n = int(coverage.strip('%'))
if n > 80: if n >= 80:
color = 'brightgreen' color = 'brightgreen'
else: else:
color = 'yellow' color = 'yellow'

Loading…
Cancel
Save