Badge shows build error when all tests pass except for the allowed failures

Here is the build in question: https://travis-ci.org/twilio/twilio-java

Thanks!

The latest build on the default branch (master) is https://travis-ci.org/twilio/twilio-java/builds/551028306, which has indeed errored. So the badge status is correct.

The “current” shows https://travis-ci.org/twilio/twilio-java/builds/552346751, but it’s a PR build and it has no bearing on the badge.

https://docs.travis-ci.com/user/status-images/#travis-ci-pages-show-the-default-branchs-result