update config.m4; allow disabling idna; add idnkit
[m6w6/ext-http] / scripts / gen_travis_yml.php
index 852fce96697d235d8b649e3be07f55c4de563810..ff43cf063b88ed4f827130ec89c79df5b97e6acf 100755 (executable)
@@ -1,6 +1,8 @@
 #!/usr/bin/env php
 # autogenerated file; do not edit
 language: c
+sudo: required
+dist: trusty
 
 addons:
  apt:
@@ -8,10 +10,10 @@ addons:
    - php5-cli
    - php-pear
    - libcurl4-openssl-dev
-   - zlib1g-dev
    - libidn11-dev
+   - libidn2-0-dev
+   - libicu-dev
    - libevent-dev
-   - cppcheck
 
 env:
 <?php
@@ -24,6 +26,7 @@ $env = $gen([
        "enable_json",
        "enable_hash" => ["yes"],
        "enable_iconv" => ["yes"],
+       "with_http_libicu_dir",
 ]);
 foreach ($env as $e) {
        printf(" - %s\n", $e);
@@ -48,7 +51,6 @@ after_failure:
 after_success:
  - test -n "$CFLAGS" && cd src/.libs && bash <(curl -s https://codecov.io/bash) -X xcode -X coveragepy
 
-sudo: false
 notifications:
  webhooks:
   urls: