Search code examples
githubtravis-ci

Show Travis-CI build status on Github Pull Request Page


How do you configure Github's pull request review page to show Travis-CI build status?

I remember Github automatically showing build status for some of my repos configured to build using Travis-CI, but Github has stopped doing this. Whether the build passed or succeeded, Github would show the status near the "Merge pull request" button. Now I have to manually search for the pull request in Travis-CI.

Has this feature been discontinued by Github, or is there some new manual configuration needed to re-implement this?


Solution

  • This discussion thread explained the issue.

    The solution was to:

    1. revoke access to Travis-CI in Github
    2. logout of Travis-CI
    3. log back in to Travis-CI.

    Travis-CI then automatically asked for Github credentials, and afterwards Github again shows Travis-CI build status in a check.