Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (6 sloc) 204 Bytes
lambda { |stdout,stderr,status|
output = stdout + stderr
return :red if /^Tests run: (\d+),(\s)+Failures: (\d+)/.match(output)
return :green if /^OK \((\d+) test/.match(output)
return :amber
}