projects
/
m6w6
/
ext-raphf
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Fix PHP 7.4: ulong -> unsigned long
[m6w6/ext-raphf]
/
scripts
/
gen_travis_yml.php
diff --git
a/scripts/gen_travis_yml.php
b/scripts/gen_travis_yml.php
index 8001d10b45a78fce1b9a9e853a07ee2b6565073a..2c947641e871ee742fd5898c704eb58ed6b44c42 100755
(executable)
--- a/
scripts/gen_travis_yml.php
+++ b/
scripts/gen_travis_yml.php
@@
-2,29
+2,48
@@
# autogenerated file; do not edit
sudo: false
language: c
# autogenerated file; do not edit
sudo: false
language: c
+dist: xenial
addons:
apt:
packages:
addons:
apt:
packages:
- - php
5
-cli
+ - php-cli
- php-pear
env:
- php-pear
env:
- matrix:
<?php
<?php
+$cur = "7.3";
$gen = include "./travis/pecl/gen-matrix.php";
$env = $gen([
$gen = include "./travis/pecl/gen-matrix.php";
$env = $gen([
- "PHP" => ["5.4", "5.5", "5.6"],
+ "PHP" => ["7.0", "7.1", "7.2", "7.4", "master"],
+ "enable_debug" => "yes",
+ "enable_maintainer_zts" => "yes",
+], [
+ "PHP" => $cur,
"enable_debug",
"enable_debug",
- "enable_maintainer_zts"
,
+ "enable_maintainer_zts"
]);
]);
-foreach ($env as $e) {
- printf(" - %s\n", $e);
+foreach ($env as $grp) {
+ foreach ($grp as $e) {
+ printf(" - %s\n", $e);
+ }
}
?>
}
?>
+matrix:
+ fast_finish: true
+ allow_failures:
+<?php
+$allow_failures = array_merge( ... array_map(function($a) {
+ return preg_grep('/^PHP=(master|7.4) /', $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=raphf
before_script:
- make -f travis/pecl/Makefile php
- make -f travis/pecl/Makefile ext PECL=raphf