travis: condense build matrix
[m6w6/ext-http] / scripts / gen_travis_yml.php
index ef73806fe757f2873e6d85952e4f279d496b979f..18dccde8273ea594c31b3b553967b219453382b1 100755 (executable)
@@ -16,10 +16,6 @@ addons:
 
 dist: xenial
 
-compiler:
- - gcc
- - clang
-
 cache:
  apt: true
  directories:
@@ -50,8 +46,9 @@ $env = $gen([
        "with_http_libevent_dir" => "no",
        "with_http_libbrotli_dir" => "no",
 ], [
-// everything enabled for current, switching on debug/zts
+// everything enabled for current, switching on CC and debug/zts
        "PHP" => $cur,
+       "CC" => ["gcc", "clang"],
        "enable_debug",
        "enable_maintainer_zts",
        "enable_json" => "yes",