Support CircleCI badges - #807
Conversation
46bb0d0 to
b8e95e3
Compare
|
Ping @carols10cents |
|
cc @Turbo87 on node 8 + CLI |
|
Rebased |
|
The test failure looks unrelated to this PR. |
e9334fb to
e62c4ef
Compare
|
Thank you for your patience on this! Rebased and force pushed to resolve a merge conflict and get tests to run again. The code looks good, but I noticed that the CircleCi docs say this:
That seems unfortunate. Do you think we should optionally accept a circle-token, so at least crate authors have the ability to make their image show up for everyone? |
|
Oooooh, one other thing:
I just tested this out by making a branch named "cratesio/test" and specifying that: and indeed, we're not URL encoding the slash; the HTML getting generated for the image is: and indeed the image doesn't load :-/ |
|
I think the circle token comment only applies to private repos - I was worried about this as well initially. For example, this badge page is visible to me when logged out from circle - is it visible for you as well? Fixed up the URL encoding! |
|
@carols10cents I'm wondering why we don't just use http://shields.io/ instead for all the badges? |
@Turbo87 does it support everything we want? i don't see gitlab CI on there, for example |
|
yeah, seems like GitLab is missing 😞 |
|
I've also noticed shields's Cargo version badge being really slow to load. |
|
Thanks! Sorry for taking so long on this, but I'll be deploying it once travis passes! 🍏 |
|
Sweet, thanks! There's no list of badges in Cargo I need to update as well, is there? |
|
Yeah there is: https://github.com/rust-lang/cargo/blame/1ee4edba1fa1a1d323be97bfec280764407d89e5/src/doc/manifest.md#L157 I got distracted yesterday and didn't finish deploying, but the deploy is going now! |
Add CircleCI badge to manifest reference rust-lang/crates.io#807
Support Cirrus CI badges Upstream API: https://cirrus-ci.org/guide/writing-tasks/#embedded-badges Modeled after #807.
Closes #800
ember-cli seems unhappy with Node 8 that Arch Linux has, so I haven't run frontend tests unfortunately :(
Badge docs: https://circleci.com/docs/1.0/status-badges/