Codecov example

This commit is contained in:
Thaddee Tyl 2014-09-27 23:11:40 +02:00
parent b935dada29
commit 55748b3b42
2 changed files with 5 additions and 1 deletions

View File

@ -938,7 +938,7 @@ cache(function(data, match, sendBadge) {
})); }));
// Codecov integration. // Codecov integration.
camp.route(/^\/codecov\/([^\/]+\/[^\/]+\/[^\/]+)(?:\/(.+))?\.(svg|png|gif|jpg)$/, camp.route(/^\/codecov\/c\/([^\/]+\/[^\/]+\/[^\/]+)(?:\/(.+))?\.(svg|png|gif|jpg)$/,
cache(function(data, match, sendBadge) { cache(function(data, match, sendBadge) {
var userRepo = match[1]; // eg, `github/codecov/example-python`. var userRepo = match[1]; // eg, `github/codecov/example-python`.
var branch = match[2]; var branch = match[2];

View File

@ -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><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> <td><code>http://img.shields.io/jenkins/t/https/jenkins.qa.ubuntu.com/precise-desktop-amd64_default.svg</code></td>
</tr> </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> </tbody></table>
<h3> Downloads </h3> <h3> Downloads </h3>
<table><tbody> <table><tbody>