Bug 1345490 - Skip travis when upstreaming wpt commits, r=Ms2ger

Since we currently just delete the branch before CI runs causing errors
and unnneccessary resource usage.

MozReview-Commit-ID: AgOZmlmuUnM
This commit is contained in:
James Graham 2017-03-13 12:59:40 +00:00
Родитель 87874aeec7
Коммит b4000e4b85
1 изменённых файлов: 2 добавлений и 4 удалений

Просмотреть файл

@ -43,16 +43,14 @@ def rewrite_patch(patch, strip_dir):
return Patch(patch.author, patch.email, rewrite_message(patch), new_diff)
def rewrite_message(patch):
rest = patch.message.body
if patch.message.bug is not None:
return "\n".join([patch.message.summary,
patch.message.body,
"",
"Upstreamed from https://bugzilla.mozilla.org/show_bug.cgi?id=%s" %
"Upstreamed from https://bugzilla.mozilla.org/show_bug.cgi?id=%s [ci skip]" %
patch.message.bug])
return "\n".join([patch.message.full_summary, rest])
return "\n".join([patch.message.full_summary, "%s\n[ci skip]\n" % patch.message.body])
class SyncToUpstream(Step):