[badge] Build unknown.

This commit is contained in:
Thaddee Tyl 2014-01-03 10:39:37 +01:00
parent f1c11271e1
commit bbb57967fa
4 changed files with 20 additions and 3 deletions

View File

@ -15,6 +15,16 @@
"widths": [ 35, 54 ], "widths": [ 35, 54 ],
"colorscheme": "yellow" "colorscheme": "yellow"
}, },
"build-failing": {
"text": [ "build", "failing" ],
"widths": [ 35, 44 ],
"colorscheme": "red"
},
"build-unknown": {
"text": [ "build", "unknown" ],
"widths": [ 35, 54 ],
"colorscheme": "grey"
},
"dependencies-none": { "dependencies-none": {
"text": [ "dependencies", "none" ], "text": [ "dependencies", "none" ],
"widths": [ 85, 37 ], "widths": [ 85, 37 ],
@ -38,7 +48,7 @@
"coverage": { "coverage": {
"text": [ "coverage", "73%" ], "text": [ "coverage", "73%" ],
"widths": [ 58, 34 ], "widths": [ 58, 34 ],
"colorB": [ "#e05f46", "#db5b42", "#a04230", "#722f22" ] "colorscheme": "red"
} }
}, },
"colorschemes": { "colorschemes": {
@ -49,6 +59,12 @@
"yellow": { "yellow": {
"colorA": [ "#aaa", "#666", "#444", "#222" ], "colorA": [ "#aaa", "#666", "#444", "#222" ],
"colorB": [ "#ffe37f", "#dfb317", "#9f8010", "#8a6f0e" ] "colorB": [ "#ffe37f", "#dfb317", "#9f8010", "#8a6f0e" ]
},
"red": {
"colorB": [ "#ffac9c", "#e05d44", "#9e4230", "#722f22" ]
},
"grey": {
"colorB": [ "#d6d6d6", "#9f9f9f", "#707070", "#515151" ]
} }
} }
} }

1
img/build-unknown.svg Normal file
View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="89" height="19"><linearGradient id="a" x2="0" y2="100%"><stop offset="0" stop-color="#aaa"/><stop offset=".1" stop-color="#666"/><stop offset=".9" stop-color="#444"/><stop offset="1" stop-color="#222"/></linearGradient><linearGradient id="b" x2="0" y2="100%"><stop offset="0" stop-color="#d6d6d6"/><stop offset=".1" stop-color="#9f9f9f"/><stop offset=".9" stop-color="#707070"/><stop offset="1" stop-color="#515151"/></linearGradient><filter id="c"><feOffset dy="1" in="SourceAlpha"/><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 .3 0"/><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/><feMergeNode in="SourceGraphic"/></feMerge></filter><rect rx="4" width="89" height="18" fill="url(#a)"/><rect rx="4" x="35" width="54" height="18" fill="url(#b)"/><rect x="35" width="4" height="18" fill="url(#b)"/><g fill="#fff" text-anchor="middle" font-family="Verdana, sans-serif" font-size="10"><text x="17.5" y="12" filter="url(#c)">build</text><text x="62" y="12" filter="url(#c)">unknown</text></g></svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -1 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="92" height="19"><linearGradient id="a" x2="0" y2="100%"><stop offset="0" stop-color="#aaa"/><stop offset=".1" stop-color="#666"/><stop offset=".9" stop-color="#444"/><stop offset="1" stop-color="#222"/></linearGradient><linearGradient id="b" x2="0" y2="100%"><stop offset="0" stop-color="#e05f46"/><stop offset=".1" stop-color="#db5b42"/><stop offset=".9" stop-color="#a04230"/><stop offset="1" stop-color="#722f22"/></linearGradient><filter id="c"><feOffset dy="1" in="SourceAlpha"/><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 .3 0"/><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/><feMergeNode in="SourceGraphic"/></feMerge></filter><rect rx="4" width="92" height="18" fill="url(#a)"/><rect rx="4" x="58" width="34" height="18" fill="url(#b)"/><rect x="58" width="4" height="18" fill="url(#b)"/><g fill="#fff" text-anchor="middle" font-family="Verdana, sans-serif" font-size="10"><text x="29" y="12" filter="url(#c)">coverage</text><text x="75" y="12" filter="url(#c)">73%</text></g></svg> <svg xmlns="http://www.w3.org/2000/svg" width="92" height="19"><linearGradient id="a" x2="0" y2="100%"><stop offset="0" stop-color="#aaa"/><stop offset=".1" stop-color="#666"/><stop offset=".9" stop-color="#444"/><stop offset="1" stop-color="#222"/></linearGradient><linearGradient id="b" x2="0" y2="100%"><stop offset="0" stop-color="#ffac9c"/><stop offset=".1" stop-color="#e05d44"/><stop offset=".9" stop-color="#9e4230"/><stop offset="1" stop-color="#722f22"/></linearGradient><filter id="c"><feOffset dy="1" in="SourceAlpha"/><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 .3 0"/><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/><feMergeNode in="SourceGraphic"/></feMerge></filter><rect rx="4" width="92" height="18" fill="url(#a)"/><rect rx="4" x="58" width="34" height="18" fill="url(#b)"/><rect x="58" width="4" height="18" fill="url(#b)"/><g fill="#fff" text-anchor="middle" font-family="Verdana, sans-serif" font-size="10"><text x="29" y="12" filter="url(#c)">coverage</text><text x="75" y="12" filter="url(#c)">73%</text></g></svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -1 +1 @@
<p><img src="img/build-passed.svg"><p><img src="img/build-passing.svg"><p><img src="img/build-pending.svg"><p><img src="img/dependencies-none.svg"><p><img src="img/dependencies-out-of-date.svg"><p><img src="img/cheez-whiz.svg"><p><img src="img/tips-per-week.svg"><p><img src="img/coverage.svg"> <p><img src="img/build-passed.svg"><p><img src="img/build-passing.svg"><p><img src="img/build-pending.svg"><p><img src="img/build-failing.svg"><p><img src="img/build-unknown.svg"><p><img src="img/dependencies-none.svg"><p><img src="img/dependencies-out-of-date.svg"><p><img src="img/cheez-whiz.svg"><p><img src="img/tips-per-week.svg"><p><img src="img/coverage.svg">