Re: [PATCH] travis: Only notify IRC on success if the previous build failed
authorTomi Ollila <tomi.ollila@iki.fi>
Tue, 5 Aug 2014 05:46:41 +0000 (08:46 +0300)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:04:06 +0000 (10:04 -0800)
10/6e1c7e3d0d868c0d72172a333abe36a095e0de [new file with mode: 0644]

diff --git a/10/6e1c7e3d0d868c0d72172a333abe36a095e0de b/10/6e1c7e3d0d868c0d72172a333abe36a095e0de
new file mode 100644 (file)
index 0000000..cbb1d22
--- /dev/null
@@ -0,0 +1,86 @@
+Return-Path: <tomi.ollila@iki.fi>\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 4CB4E431FBC\r
+       for <notmuch@notmuchmail.org>; Mon,  4 Aug 2014 22:47:00 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       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 3apyLXFrFjp9 for <notmuch@notmuchmail.org>;\r
+       Mon,  4 Aug 2014 22:46:52 -0700 (PDT)\r
+Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
+       by olra.theworths.org (Postfix) with ESMTP id E17D9431FAE\r
+       for <notmuch@notmuchmail.org>; Mon,  4 Aug 2014 22:46:51 -0700 (PDT)\r
+Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
+       by guru.guru-group.fi (Postfix) with ESMTP id A1A0C100051;\r
+       Tue,  5 Aug 2014 08:46:41 +0300 (EEST)\r
+From: Tomi Ollila <tomi.ollila@iki.fi>\r
+To: Austin Clements <amdragon@MIT.EDU>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] travis: Only notify IRC on success if the previous\r
+       build   failed\r
+In-Reply-To: <1407203868-18650-1-git-send-email-amdragon@mit.edu>\r
+References: <1407203868-18650-1-git-send-email-amdragon@mit.edu>\r
+User-Agent: Notmuch/0.18.1+25~gdaf4b6f (http://notmuchmail.org) Emacs/24.3.1\r
+       (x86_64-unknown-linux-gnu)\r
+X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
+       $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
+       !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
+Date: Tue, 05 Aug 2014 08:46:41 +0300\r
+Message-ID: <m24mxr5vzy.fsf@guru.guru-group.fi>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\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 05:47:00 -0000\r
+\r
+On Tue, Aug 05 2014, Austin Clements <amdragon@MIT.EDU> wrote:\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
+\r
+Found http://docs.travis-ci.com/user/notifications/#IRC-notification\r
+and based on that (and by checking "Email notifications" above)\r
+this should work.\r
+\r
++1\r
+\r
+Tomi\r
+\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