Advertise code climate support.
This commit is contained in:
parent
7d257711f5
commit
faf0444be0
|
@ -322,10 +322,12 @@ function(data, match, end, ask) {
|
|||
var state = statusMatch[1].replace('-', '.');
|
||||
var score = +state;
|
||||
badgeData.text[1] = state;
|
||||
if (score > 3) {
|
||||
if (score == 4) {
|
||||
badgeData.colorscheme = 'brightgreen';
|
||||
} else if (score > 2) {
|
||||
} else if (score > 3) {
|
||||
badgeData.colorscheme = 'green';
|
||||
} else if (score > 2) {
|
||||
badgeData.colorscheme = 'yellowgreen';
|
||||
} else if (score > 1) {
|
||||
badgeData.colorscheme = 'yellow';
|
||||
} else {
|
||||
|
|
|
@ -110,6 +110,10 @@ Use an underscore <code>_</code> if you want a space. Or, you know, use a space.
|
|||
<td><img src='/coveralls/jekyll/jekyll/master.svg' alt='Coveralls'/></td>
|
||||
<td><code>http://b.adge.me/coveralls/jekyll/jekyll/master.svg</code></td>
|
||||
</tr>
|
||||
<tr><th> Code Climate: </th>
|
||||
<td><img src='/codeclimate/github/kabisaict/flow.svg' alt='Code Climate'/></td>
|
||||
<td><code>http://b.adge.me/codeclimate/github/kabisaict/flow.svg</code></td>
|
||||
</tr>
|
||||
<tr><th> npm: </th>
|
||||
<td><img src='/npm/dm/localeval.svg' alt='npm'/></td>
|
||||
<td><code>http://b.adge.me/npm/dm/localeval.svg</code></td>
|
||||
|
|
Loading…
Reference in New Issue
Block a user