travis
[m6w6/ext-propro] / scripts / gen_travis_yml.php
index a79f671482d23dbec726c3b79e6089e4c6233e23..8e9f951831dffbd82dd2dc14231d045cc66aed2d 100755 (executable)
@@ -1,20 +1,19 @@
 #!/usr/bin/env php
 # autogenerated file; do not edit
-sudo: false
 language: c
 
 addons:
  apt:
   packages:
-   - php5-cli
+   - php-cli
    - php-pear
 
 env:
 <?php
 $gen = include "./travis/pecl/gen-matrix.php";
-$cur = "7.3";
+$cur = "7.4";
 $env = $gen([
-       "PHP" => ["7.0", "7.1", "7.2", "master"],
+       "PHP" => ["7.0", "7.1", "7.2", "7.3"],
        "enable_debug" => "yes",
        "enable_maintainer_zts" => "yes",
        "enable_json" => "yes",
@@ -37,21 +36,12 @@ foreach ($env as $g) {
 }
 ?>
 
-matrix:
- fast_finish: true
- allow_failures:
-<?php
-$allow_failures = array_merge( ... array_map(function($a) {
-       return preg_grep('/^PHP=master /', $a);
-}, $env));
-foreach ($allow_failures as $e) {
-       printf("  - env: %s\n", $e);
-}
-?>
-
 before_script:
  - make -f travis/pecl/Makefile php
  - make -f travis/pecl/Makefile ext PECL=propro
 
 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