From ee5eb48a0bd8f4072bed8eae4af5b7d9f40df74f Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Mon, 2 Jul 2018 18:08:02 -0700 Subject: [PATCH] build: Set Travis conf to "allow failure" for long-failing builds Specifically, PHP 7.2, postgres and all HHVM builds have been failing for at least a month or more. In order for notifications to become useful, whitelist these for now, so that next time the main MySQL/PHP 7.0 or PHP 7.1 build failes, we'll notice sooner. Also move the notifs back to #wikimedia-dev and make it match the configuration of other repos that use Travis via GitHub (such as CSSJanus), specifically, to use a message template that spans only a single line, instead of the default which spans several lines. Change-Id: I3abbff51414d33cde34cca26896724e8999c32db --- .travis.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index e15fc55426..2fc6d641c7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -38,8 +38,11 @@ matrix: - env: dbtype=mysql dbuser=root php: hhvm-3.18 allow_failures: - - php: hhvm-3.24 + - php: 7.2 + - env: dbtype=postgres dbuser=travis + - php: hhvm-3.18 - php: hhvm-3.21 + - php: hhvm-3.24 services: - mysql @@ -80,7 +83,8 @@ notifications: email: false irc: channels: - - "chat.freenode.net#mediawiki-feed" + - "chat.freenode.net#wikimedia-dev" + template: + - "%{repository}#%{build_number} (%{branch} - %{commit} %{author}): %{message} - %{build_url}" on_success: change - on_failure: change - skip_join: true + on_failure: always -- 2.20.1