Write TravisCI build matrix in more readable and extandable manner
authorjeroendedauw <jeroendedauw@gmail.com>
Mon, 7 Sep 2015 18:47:51 +0000 (20:47 +0200)
committerjeroendedauw <jeroendedauw@gmail.com>
Mon, 7 Sep 2015 18:47:52 +0000 (20:47 +0200)
Change-Id: I320c9089a0471f56721479714288a5db58cca5fd

.travis.yml

index 206ead3..cbab7ee 100644 (file)
@@ -8,19 +8,15 @@
 #
 language: php
 
-php:
-  - hhvm
-  - 5.3
-
-env:
-  - dbtype=mysql
-  - dbtype=postgres
-
-# TODO: Travis CI's hhvm does not support PostgreSQL at the moment.
 matrix:
-  exclude:
-    - php: hhvm
-      env: dbtype=postgres
+  fast_finish: true
+  include:
+    - env: dbtype=mysql
+      php: 5.3
+    - env: dbtype=postgres
+      php: 5.3
+    - env: dbtype=mysql
+      php: hhvm
 
 services:
   - mysql