User:Jeroen De Dauw/TravisCI replication


 * This script would run every n seconds

poll for new commits/patchsets in review

if no new commits, skip following steps

(step 2) replicate master to github - pull master from gerrit - push master to github

foreach new commit - get latest patchset from gerrit onto its own branch - replicate branch to github (ie WikidataCI/Diff:review/jeroen_de_dauw/foobar) - (step 1) TravisCI runs the build for the latest commit on the branch - (step 2, instead of 1) A pull request from the review branch to master is created Travis runs the build for the pull request


 * TravisCI config

Exclude all branches except review/*