expected:
https://travis-ci.org/alibaba/AliOS-Things.svg?branch=master
however, shields does not work like above:
https://img.shields.io/travis/alibaba/AliOS-Things.svg?branch=master
It seems the parameter branch=master doesn't make any difference on img.shields.io.
Apologize, the master is now build-passing, as well as all other branches, so we may not see the actual result, but I guess the question is clear.
I believe the correct format for specifying a branch is:
https://img.shields.io/travis/USER/REPO/BRANCH.svg
So in your case the url would be:
https://img.shields.io/travis/alibaba/AliOS-Things/master.svg
Hope that helps :smile:
quite helpful, thanks a lot @RedSparr0w
@RedSparr0w the format you suggested is only supported for projects at travis-ci.org, not at travis-ci.com, isn't it?
@1138-4EB Check this merged PR, should works now: https://github.com/badges/shields/pull/1711
Use:
/travis/com/USER/REPO.(svg|png|gif|jpg|json)
/travis-ci/com/USER/REPO.(svg|png|gif|jpg|json)
What's missing. Could you clarify?

@paulmelnikow My bad, I didn't realise there was a Travis.org and a Travis.com
Most helpful comment
I believe the correct format for specifying a branch is:
https://img.shields.io/travis/USER/REPO/BRANCH.svgSo in your case the url would be:

https://img.shields.io/travis/alibaba/AliOS-Things/master.svgHope that helps :smile: