Gitlab has the ability to do that.<p><a href="http:&#x2F;&#x2F;doc.gitlab.com&#x2F;ce&#x2F;workflow&#x2F;merge_when_build_succeeds.html" rel="nofollow">http:&#x2F;&#x2F;doc.gitlab.com&#x2F;ce&#x2F;workflow&#x2F;merge_when_build_succeeds....</a>