mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Skip travis when upstreaming wpt commits.
Since we currently just delete the branch before CI runs causing errors and unnneccessary resource usage.
This commit is contained in:
parent
2ad2e09571
commit
d1a42fc4e5
1 changed files with 2 additions and 4 deletions
|
@ -42,16 +42,14 @@ def rewrite_patch(patch, strip_dir):
|
||||||
return Patch(patch.author, patch.email, rewrite_message(patch), new_diff)
|
return Patch(patch.author, patch.email, rewrite_message(patch), new_diff)
|
||||||
|
|
||||||
def rewrite_message(patch):
|
def rewrite_message(patch):
|
||||||
rest = patch.message.body
|
|
||||||
|
|
||||||
if patch.message.bug is not None:
|
if patch.message.bug is not None:
|
||||||
return "\n".join([patch.message.summary,
|
return "\n".join([patch.message.summary,
|
||||||
patch.message.body,
|
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])
|
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):
|
class SyncToUpstream(Step):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue