I have a repo: https://github.com/styfle/packagephobia
I tried visiting https://badgen.now.sh/travis/styfle/packagephobia which redirects to https://api.travis-ci.com/styfle/packagephobia.svg?branch=master but that shows "build unknown".
My readme is currently using https://travis-ci.org/styfle/packagephobia.svg?branch=master which redirects to https://api.travis-ci.org/styfle/packagephobia.svg?branch=master and this correctly hows "build passing"
Note the difference here is .com vs .org.
hmm, travis is in the process of migrating .org repos to .com, but seems not so seamlessly.
What about adding a /travis-org/ (eg, /travis-org/styfle/packagephobia) for repos on travis-ci.org?
That might work but it's kind of confusing to the end user because I don't remember off the top of my head if I am using .com or .org and which one is the open source offering. I'll probably just stick with what I have until travis finishes migrating. https://travis-ci.org/styfle/packagephobia.svg?branch=master
Sure, I'm not so satisfy with this solution either, it's a compromise(better than others comming to my mind).
It looks we can hardly get over the difference between travis .com & .org. If travis could do a 302 redirection between com & org, that would be the best solution. 馃槄
This appears to be fixed now 馃槃
Most helpful comment
https://badgen-service-oksomisius.now.sh/travis-org/styfle/packagephobia