projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
travis: allow_failures
[m6w6/ext-http]
/
scripts
/
gen_travis_yml.php
diff --git
a/scripts/gen_travis_yml.php
b/scripts/gen_travis_yml.php
index 96294f42df794099afdf1e2a3b989215bd6e9bcf..d4e409fbdf0372e3c1b1642a839c3ad6fc3a1e1c 100755
(executable)
--- a/
scripts/gen_travis_yml.php
+++ b/
scripts/gen_travis_yml.php
@@
-18,16
+18,12
@@
compiler:
- clang
cache:
- clang
cache:
+ apt: true
directories:
- $HOME/cache
before_cache:
- find $HOME/cache -name '*.gcda' -o -name '*.gcno' -delete
directories:
- $HOME/cache
before_cache:
- find $HOME/cache -name '*.gcda' -o -name '*.gcno' -delete
-matrix:
- fast_finish: true
- allow_failures:
- - env: PHP=master
-
env:
<?php
env:
<?php
@@
-74,12
+70,24
@@
$env = $gen([
"with_http_libidn2_dir",
],
]);
"with_http_libidn2_dir",
],
]);
+$allow_failures = [];
foreach ($env as $grp) {
foreach ($grp as $e) {
foreach ($env as $grp) {
foreach ($grp as $e) {
+ if (!strncmp($e, "PHP=master", strlen("PHP=master"))) {
+ $allow_failures[] = $e;
+ }
printf(" - %s\n", $e);
}
}
printf(" - %s\n", $e);
}
}
+?>
+matrix:
+ fast_finish: true
+ allow_failures:
+<?php
+foreach ($allow_failures as $e) {
+ printf(" - env: %s\n", $e);
+}
?>
install:
?>
install: