From: Tomi Ollila Date: Tue, 5 Aug 2014 05:46:41 +0000 (+0300) Subject: Re: [PATCH] travis: Only notify IRC on success if the previous build failed X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ea04fed2d12d88a1d721d1ef13e7fd201d6ce102;p=notmuch-archives.git Re: [PATCH] travis: Only notify IRC on success if the previous build failed --- diff --git a/10/6e1c7e3d0d868c0d72172a333abe36a095e0de b/10/6e1c7e3d0d868c0d72172a333abe36a095e0de new file mode 100644 index 000000000..cbb1d2286 --- /dev/null +++ b/10/6e1c7e3d0d868c0d72172a333abe36a095e0de @@ -0,0 +1,86 @@ +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 4CB4E431FBC + for ; Mon, 4 Aug 2014 22:47:00 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + 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 3apyLXFrFjp9 for ; + Mon, 4 Aug 2014 22:46:52 -0700 (PDT) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by olra.theworths.org (Postfix) with ESMTP id E17D9431FAE + for ; Mon, 4 Aug 2014 22:46:51 -0700 (PDT) +Received: from guru.guru-group.fi (localhost [IPv6:::1]) + by guru.guru-group.fi (Postfix) with ESMTP id A1A0C100051; + Tue, 5 Aug 2014 08:46:41 +0300 (EEST) +From: Tomi Ollila +To: Austin Clements , notmuch@notmuchmail.org +Subject: Re: [PATCH] travis: Only notify IRC on success if the previous + build failed +In-Reply-To: <1407203868-18650-1-git-send-email-amdragon@mit.edu> +References: <1407203868-18650-1-git-send-email-amdragon@mit.edu> +User-Agent: Notmuch/0.18.1+25~gdaf4b6f (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-unknown-linux-gnu) +X-Face: HhBM'cA~ +MIME-Version: 1.0 +Content-Type: text/plain +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 05:47:00 -0000 + +On Tue, Aug 05 2014, Austin Clements wrote: + +> Without this, Travis is rather spammy. Travis will continue to notify +> the IRC channel on each build failure, which seems desirable. +> --- + +Found http://docs.travis-ci.com/user/notifications/#IRC-notification +and based on that (and by checking "Email notifications" above) +this should work. + ++1 + +Tomi + + +> .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