Codecov example
This commit is contained in:
parent
b935dada29
commit
55748b3b42
|
@ -938,7 +938,7 @@ cache(function(data, match, sendBadge) {
|
|||
}));
|
||||
|
||||
// Codecov integration.
|
||||
camp.route(/^\/codecov\/([^\/]+\/[^\/]+\/[^\/]+)(?:\/(.+))?\.(svg|png|gif|jpg)$/,
|
||||
camp.route(/^\/codecov\/c\/([^\/]+\/[^\/]+\/[^\/]+)(?:\/(.+))?\.(svg|png|gif|jpg)$/,
|
||||
cache(function(data, match, sendBadge) {
|
||||
var userRepo = match[1]; // eg, `github/codecov/example-python`.
|
||||
var branch = match[2];
|
||||
|
|
4
try.html
4
try.html
|
@ -204,6 +204,10 @@ I made the GitHub Badge Service.
|
|||
<td><img src='/jenkins/t/https/jenkins.qa.ubuntu.com/precise-desktop-amd64_default.svg' alt=''/></td>
|
||||
<td><code>http://img.shields.io/jenkins/t/https/jenkins.qa.ubuntu.com/precise-desktop-amd64_default.svg</code></td>
|
||||
</tr>
|
||||
<tr><th> Codecov: </th>
|
||||
<td><img src='/codecov/c/github/codecov/example-python.svg' alt=''/></td>
|
||||
<td><code>http://img.shields.io/codecov/c/github/codecov/example-python.svg</code></td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
<h3> Downloads </h3>
|
||||
<table><tbody>
|
||||
|
|
Loading…
Reference in New Issue
Block a user