Shields: Add Travis CI logo to build badge

Created on 28 Sep 2017  Β·  32Comments  Β·  Source: badges/shields

Basically same as https://github.com/badges/shields/issues/507 (AppVeyor logo)

It would be very handy to have a logo on the badge for travis too.
With the upcoming ?logo= (#1092) addition we are fully customizable then. πŸ‘

Logo could be the travis T or the helmet for example. The complete travis face might have too much details for a little logo.

good first issue service-badge

Most helpful comment

Color | Example | Preffered
:-- | :--: | :--:
#ccc | | πŸŽ‰
#ddd | | πŸ‘
#fff | | πŸ˜„

Color | Example @2x | Preffered
:-- | :--: | :--:
#ccc | | πŸŽ‰
#ddd | | πŸ‘
#fff | | πŸ˜„

Add a reaction for your preferred logo style(s) and i will try get a PR started in the next few days.

All 32 comments

In #1092 @tylerl0706 asked:

If I want to contribute an svg, are there any requirements? (single color, etc)

Good question. Definitely compressed using SVGo. Single color is a good idea, too. Level of detail should be reduced enough that it looks decent on a badge without being unnecessarily large.

If helmet could be reduced to just basic recognizable silhouette - that would be cool.

Full logo does look a bit too large for the badge, although still recognizable.
image
image
The hat also looks quite small
image
unless you use &logoWidth=18
image
or &logoWidth=20
image
And finally just the T (IMO looks a bit odd)
image

Here's a link to a reduced(?) favicon. Is it any better?

https://cdn.travis-ci.org/images/favicon-c566132d45ab1a9bcae64d8d90e4378a.svg

Think the lines might be a little too thin on that one
image

or maybe style=logo?
image
with label=%20
image
with a single color logo
image
_looks better with a black background when the logo is white_
image

But this does go against the spec:

The left-hand side of a badge should not advertize. It should be a noun describing succinctly the meaning of the right-hand-side data.

When the logo is that large it's kind of advertising.

What about just using the mustache?

What about just using the mustache?

Or the travis T with the mustache on top. The mustache overlay would need to cut in the T to make it more distinct and visible maybe. Maybe it looks really bad, just throwing one idea more.
Recognizable options are limited it looks like...

Good ideas will have to give them a try when I get near a computer!
Although not sure how travis-ci would feel about us rebranding their logo for badges πŸ˜†

Black on white logo is recognizable. Colored as well. Inversed not so. Maybe leave it on white background somehow?

Don't think just the mustache works too well:

image
logoWidth=26:
image

I would say if anything it would have to be one of the following:
image
image
image

What about just an outlined version of the T sorry I can't contribute a visual right now


but if colored is preferred, then

https://github.com/badges/shields/issues/1107#issuecomment-343005239

Mustache only doesn't work, yes... :)

It looks like the black version on light background is easiest to recognize! But the badge left part is darkish...
I mean, the original Appveyor logo is white (https://ci.appveyor.com), but we use a greyish version: appveyor logo
A lesser vivid white version of travis might do the trick here too!

I want this !!!!!
I think the one with the whole face instead of only moustaches is better πŸ₯‡

A lesser vivid white version of travis might do the trick here too!

+1

Color | Example | Preffered
:-- | :--: | :--:
#ccc | | πŸŽ‰
#ddd | | πŸ‘
#fff | | πŸ˜„

Color | Example @2x | Preffered
:-- | :--: | :--:
#ccc | | πŸŽ‰
#ddd | | πŸ‘
#fff | | πŸ˜„

Add a reaction for your preferred logo style(s) and i will try get a PR started in the next few days.

@RedSparr0w Do you have svg links for those? Would be curious to see what they look like @ 2x.

Here is a side-to-side comparison, most people might end up putting them next to each other:




I tend to like the white one more here, a bit easier to recognize then the appveyor-grey (ddd). But did you play around with a not as bright white? Like 80-90% white?
Is colored a real consideration? Regarding the other logos only twitter is colored.
Maybe we want some design decision there too... for consistancy and a clean look. Only whitish/greyish logos for example. Or black.
Most of them are white; appveyor is grey; twitter colored; github, gitter and telegram are black... (no idea about the open logo-adding pr's)

The coloured one is just really bad I think...i prefer the 100% white one, I think it suits better near the build label which is white.

A quick mockup svg with the travis logo here:
http://shields.redsparr0w.com/static/badge.svg?logo=travis&color=white
change color to whatever you like rgb(255,255,255) black ccc ffffff etc. _(exclude the #)_



@1.5x
@2x

Thanks, those are super helpful. Could you drop them into your post above?

Updated post above,
Looks like #fff is the favorite currently, will most likely create the PR on Monday.
I may start working on a PR to allow logo color selection sometime soon too.

I cannot see travis.svg in https://github.com/badges/shields/tree/gh-pages/logo . Maybe somebody should just publish the master to gh-pages?

The copy of travis.svg needs to be on the server, so the server needs to be deployed.

I thought shield.io is continuous deployment, but well.. Is there a doc about deployment process?

Deploys usually happen every 1–3 weeks. ThaddΓ©e, who has limited time on this project, is the only sysadmin. He's working on giving me access to deploy and logs, but doing so is complicated because the hosting account is shared with other services he runs.

Hosting is Cloudflare. Is that some special offer?

I may be wrong, but i don't think Cloudflare offers hosting?
They are just the name server from what i can see.

https://check-host.net/ip-info?host=shields.io shows that shields.io IP belongs to Cloudflare.

I'm a little confused. Has this been implemented? And if so, how does an end user access and use the travis logo?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

paulmelnikow picture paulmelnikow  Β·  3Comments

lukeeey picture lukeeey  Β·  3Comments

AlexWayfer picture AlexWayfer  Β·  3Comments

calebcartwright picture calebcartwright  Β·  3Comments

PyvesB picture PyvesB  Β·  3Comments