projects
/
m6w6
/
ext-raphf
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
travis
[m6w6/ext-raphf]
/
scripts
/
gen_travis_yml.php
diff --git
a/scripts/gen_travis_yml.php
b/scripts/gen_travis_yml.php
index 9cc68f9e039a9be4bd5df02370db3685f7d0c243..c68b39641a42be92aab5ea931191db83dab44b83 100755
(executable)
--- a/
scripts/gen_travis_yml.php
+++ b/
scripts/gen_travis_yml.php
@@
-1,31
+1,47
@@
#!/usr/bin/env php
# autogenerated file; do not edit
#!/usr/bin/env php
# autogenerated file; do not edit
-sudo: false
language: c
addons:
apt:
packages:
language: c
addons:
apt:
packages:
- - php
5
-cli
+ - php-cli
- php-pear
env:
<?php
- php-pear
env:
<?php
+$cur = "8.0";
$gen = include "./travis/pecl/gen-matrix.php";
$env = $gen([
$gen = include "./travis/pecl/gen-matrix.php";
$env = $gen([
- "PHP" => ["7.0", "7.1", "7.2", "7.3", "master"],
+ "PHP" => ["7.0", "7.1", "7.2", "7.3", "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 $grp) {
foreach ($grp as $e) {
]);
foreach ($env as $grp) {
foreach ($grp as $e) {
- printf(" - %s\n", $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) /', $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