How to trigger a Travis rebuild for my pull-request from a github comment?
After a pull-request is created on Github, the Travis PR builds triggers. And if we want to re-trigger a build, we could press the Restart Job
button on Travis GUI:
But is there a way to trigger the Restart Job
by listening to the comments in the Github Pull-Request and perhaps look for a specific comment text, e.g. [CI: Restart build]
?
In Jenkins with Cloudbees, it's possible to set the trigger phrase in the Build Triggers
section, e.g.
Is that possible in Travis too?
How to trigger a Travis rebuild for my pull-request from a github comment?