travis
[m6w6/ext-apfd] / gen_travis_yml.php
index 9d5ec840d18191a26d8a7fa990231d20a361bb2a..683e46e75970d6616945ee948a6f22571cc9c35c 100755 (executable)
@@ -1,37 +1,35 @@
 #!/usr/bin/env php
 # autogenerated file; do not edit
 language: c
-sudo: false
-dist: trusty
 
 addons:
  apt:
   packages:
-   - php5-cli
+   - php-cli
    - php-pear
    - valgrind
 
-compiler:
- - gcc
- - clang
-
 env:
  matrix:
 <?php
 
-$cur = "7.2";
+$cur = "8.0";
 $gen = include "./travis/pecl/gen-matrix.php";
 $env = $gen([
-       "PHP" => ["5.6", "7.0", "7.1", "master"],
+       "PHP" => ["5.6", "7.0", "7.1", "7.2", "7.3", "7.4"],
        "enable_debug" => "yes",
        "enable_maintainer_zts" => "yes",
+],[
+       "PHP" => ["master"],
+       "enable_debug" => "yes",
+       "enable_zts" => "yes",
 ], [
        "PHP" => $cur,
        "enable_debug",
-       "enable_maintainer_zts"
+       "enable_zts"
 ], [
-       "CFLAGS" => "'-O0 -g --profile'",
-       "CXXFLAGS" => "'-O0 -g --profile'",
+       "CFLAGS" => "'-O0 -g --coverage'",
+       "CXXFLAGS" => "'-O0 -g --coverage'",
        "PHP" => $cur,
 ]);
 foreach ($env as $grp) {
@@ -57,5 +55,5 @@ script:
  - make -f travis/pecl/Makefile test
 
 after_success:
- - test -n "$CFLAGS" && cd src/.libs && bash <(curl -s https://codecov.io/bash) -X xcode -X coveragepy
+ - test -n "$CFLAGS" && cd .libs && bash <(curl -s https://codecov.io/bash) -X xcode -X coveragepy