When a pull request is opened, Travis CI receives a pull request notification from GitHub. We turn this notification into a build and run it.
During the build, we update the status of the commits to one of:
Travis CI builds a pull request when it is first opened, and when commits are added to the pull request .