[PATCH] travis: Only notify IRC on success if the previous build failed
authorAustin Clements <amdragon@MIT.EDU>
Tue, 5 Aug 2014 01:57:48 +0000 (21:57 +2000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:04:05 +0000 (10:04 -0800)
c0/775edfc78142b159fa03ccd2ff00ea5e14e38b [new file with mode: 0644]

diff --git a/c0/775edfc78142b159fa03ccd2ff00ea5e14e38b b/c0/775edfc78142b159fa03ccd2ff00ea5e14e38b
new file mode 100644 (file)
index 0000000..f31f89b
--- /dev/null
@@ -0,0 +1,99 @@
+Return-Path: <amdragon@mit.edu>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 6E61F431FBC\r
+       for <notmuch@notmuchmail.org>; Mon,  4 Aug 2014 18:58:02 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.3\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id z1Nhwyc4+v9S for <notmuch@notmuchmail.org>;\r
+       Mon,  4 Aug 2014 18:57:56 -0700 (PDT)\r
+Received: from dmz-mailsec-scanner-6.mit.edu (dmz-mailsec-scanner-6.mit.edu\r
+       [18.7.68.35])\r
+       (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 23C8A431FAE\r
+       for <notmuch@notmuchmail.org>; Mon,  4 Aug 2014 18:57:56 -0700 (PDT)\r
+X-AuditID: 12074423-f79bf6d000007580-9a-53e03a23b18a\r
+Received: from mailhub-auth-1.mit.edu ( [18.9.21.35])\r
+       (using TLS with cipher AES256-SHA (256/256 bits))\r
+       (Client did not present a certificate)\r
+       by dmz-mailsec-scanner-6.mit.edu (Symantec Messaging Gateway) with SMTP\r
+       id C9.C2.30080.32A30E35; Mon,  4 Aug 2014 21:57:55 -0400 (EDT)\r
+Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11])\r
+       by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id s751vrtm020227; \r
+       Mon, 4 Aug 2014 21:57:54 -0400\r
+Received: from drake.dyndns.org\r
+       (216-15-114-40.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com\r
+       [216.15.114.40]) (authenticated bits=0)\r
+       (User authenticated as amdragon@ATHENA.MIT.EDU)\r
+       by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id s751vqMT008659\r
+       (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);\r
+       Mon, 4 Aug 2014 21:57:53 -0400\r
+Received: from amthrax by drake.dyndns.org with local (Exim 4.77)\r
+       (envelope-from <amdragon@mit.edu>)\r
+       id 1XEU0e-0004rQ-2Y; Mon, 04 Aug 2014 21:57:52 -0400\r
+From: Austin Clements <amdragon@MIT.EDU>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH] travis: Only notify IRC on success if the previous build\r
+       failed\r
+Date: Mon,  4 Aug 2014 21:57:48 -0400\r
+Message-Id: <1407203868-18650-1-git-send-email-amdragon@mit.edu>\r
+X-Mailer: git-send-email 2.0.0\r
+X-Brightmail-Tracker:\r
+ H4sIAAAAAAAAA+NgFlrPIsWRmVeSWpSXmKPExsUixCmqrKts9SDYYPULBYsbrd2MFtdvzmR2\r
+       YPJ4tuoWs8eWQ++ZA5iiuGxSUnMyy1KL9O0SuDK2/NIp2MxS0XnPqoFxB3MXIyeHhICJxKbp\r
+       /1ghbDGJC/fWs3UxcnEICcxmkpi36h0LhLOBUWLbi0vsEM5tJokTJz9CZeYySrybu4QdpJ9N\r
+       QENi2/7ljCC2iIC0xM67s8HmMgtYSlz92s4EYgsLBEjc+tsG1MzBwSKgKvHyRR1ImFfAQeLW\r
+       9/ksEGfISTTc+MQ2gZF3ASPDKkbZlNwq3dzEzJzi1GTd4uTEvLzUIl0zvdzMEr3UlNJNjKCw\r
+       YHdR3sH456DSIUYBDkYlHl4BtfvBQqyJZcWVuYcYJTmYlER5G8wfBAvxJeWnVGYkFmfEF5Xm\r
+       pBYfYpTgYFYS4c0XBMrxpiRWVqUW5cOkpDlYlMR531pbBQsJpCeWpGanphakFsFkZTg4lCR4\r
+       rS2BGgWLUtNTK9Iyc0oQ0kwcnCDDeYCGi4DU8BYXJOYWZ6ZD5E8x6nIs2v+ym0mIJS8/L1VK\r
+       nNfGAqhIAKQoozQPbg4snl8xigO9JcwrDTKKB5gK4Ca9AlrCBLTETOc+yJKSRISUVAPjSp01\r
+       BlZ/IpwF1iY3HWkpXmHht+APw6kmxVmBRVI/FFQiqhxZovKiRDdaFS9TX984O+jNUz7RjXJC\r
+       6v+yJhzV2MReJK+64O4Rz83zGDYJT7AKLix5WNEWdXz6E70i+Y67By9M5PmwULOxYWX9c5Pt\r
+       8u1ZNzXuv5y3cN3m3FUswQuZ8zO6/QKUWIozEg21mIuKEwERtzOVwgIAAA==\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 05 Aug 2014 01:58:02 -0000\r
+\r
+Without this, Travis is rather spammy.  Travis will continue to notify\r
+the IRC channel on each build failure, which seems desirable.\r
+---\r
+ .travis.yml | 6 +++++-\r
+ 1 file changed, 5 insertions(+), 1 deletion(-)\r
+\r
+diff --git a/.travis.yml b/.travis.yml\r
+index dff57a7..dbd6434 100644\r
+--- a/.travis.yml\r
++++ b/.travis.yml\r
+@@ -15,5 +15,9 @@ before_install:\r
+ script:\r
+   - ./configure\r
+   - make test\r
++\r
+ notifications:\r
+-  irc: "chat.freenode.net#notmuch"\r
++  irc:\r
++    channels:\r
++      - "chat.freenode.net#notmuch"\r
++    on_success: change\r
+-- \r
+2.0.0\r
+\r