Mark a build "passed with warning" when "allow_failures" jobs fail

It is true that Github does not allow any “intermediate status”. So you are right, I would not have the feedback in the PR page in the end, I would have to go in travis to know about the existence of warnings, which is not what I want.
Concerning the global status, as I suggested above maybe only a subset of jobs could be involved and as long as one of these fails, the warning would be raised.

But again, you are right, since what I really need in to have this feedback in Github, the limitation is not necessarily on Travis side.

I have to admit I don’t get what you mean by pointing me to this PR though, could you explain it?

Another related question: would it be possible to have 2 (or more) lines of feedback in Github from a single pipeline in Travis, maybe 1 per stage or configurable? This way I could for example get an independent feedback for my “optional” stage.