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