Travis UI does not link a build to correct commit on GitHub PR

Potentially linked to this bug report?

EDIT: to clarify, maybe the original post was unclear, but the main issue is that the result of the build is not properly linked back to GitHub
(I originally thought that this was due to the “wrong” commit number, but even if the commit number is normal, the linking issue remains)

EDIT2: issue remains with newly created PR vs travis build, build status is not visible from GitHub