build: Set Travis conf to "allow failure" for long-failing builds
authorTimo Tijhof <krinklemail@gmail.com>
Tue, 3 Jul 2018 01:08:02 +0000 (18:08 -0700)
committerTimo Tijhof <krinklemail@gmail.com>
Tue, 3 Jul 2018 01:11:42 +0000 (18:11 -0700)
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

index e15fc55..2fc6d64 100644 (file)
@@ -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