Badgen.net: travis redirect build unknown

Created on 12 Jul 2018  路  5Comments  路  Source: badgen/badgen.net

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.

Most helpful comment

All 5 comments

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 馃槃

Was this page helpful?
0 / 5 - 0 ratings

Related issues

styfle picture styfle  路  3Comments

tunnckoCore picture tunnckoCore  路  3Comments

dougwilson picture dougwilson  路  6Comments

sindresorhus picture sindresorhus  路  6Comments

szmarczak picture szmarczak  路  5Comments