travis: condense build matrix
[m6w6/ext-http] / scripts / gen_travis_yml.php
index bcbd34892f06c94ed8691ae7d70fa16173d6ecf9..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",
@@ -91,7 +88,6 @@ foreach ($allow_failures as $e) {
 ?>
 
 install:
- - ./travis/brotli.sh v1.0.2
  - |
    if test "$PHP" = master; then \
      make -f travis/pecl/Makefile reconf; \