build: Make Travis CI 'Postgres' build non-voting
authorTimo Tijhof <krinklemail@gmail.com>
Sat, 25 Mar 2017 19:38:09 +0000 (12:38 -0700)
committerTimo Tijhof <krinklemail@gmail.com>
Tue, 28 Mar 2017 00:47:05 +0000 (17:47 -0700)
This will make it easier to detect regressions by not making all
builds marked as fail, but only if one of the other three fails.

Mute the known failure from Postgres by adding it to an allow_failures
section. It'll still run every commit, but is non-voting.
To be re-enabled once T75174 is fixed.

Bug: T75176
Change-Id: I2ea415edd308f2a012ef240d562c0073f15b9118

.travis.yml

index 5e2c7a0..baf7f03 100644 (file)
@@ -31,6 +31,11 @@ matrix:
       php: hhvm-3.12
     - env: dbtype=mysql dbuser=root
       php: 7
+  allow_failures:
+    # Postgres support for unit tests is still buggy
+    # https://phabricator.wikimedia.org/T75174
+    - env: dbtype=postgres dbuser=travis
+      php: 5.5
 
 services:
   - mysql