Skip to content

Commit

Permalink
Skip travis when upstreaming wpt commits.
Browse files Browse the repository at this point in the history
Since we currently just delete the branch before CI runs causing errors
and unnneccessary resource usage.
  • Loading branch information
jgraham committed Mar 9, 2017
1 parent 2ad2e09 commit d1a42fc
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/wpt/update/upstream.py
Expand Up @@ -42,16 +42,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):
Expand Down

0 comments on commit d1a42fc

Please sign in to comment.