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: clean on build failure
[m6w6/ext-http]
/
scripts
/
gen_travis_yml.php
diff --git
a/scripts/gen_travis_yml.php
b/scripts/gen_travis_yml.php
index 3408a5d6fddc467737a0fb36ffc527a9719b6e76..bd62c6dff7456f5c9e0abb2f48d4352488c95889 100755
(executable)
--- a/
scripts/gen_travis_yml.php
+++ b/
scripts/gen_travis_yml.php
@@
-22,6
+22,8
@@
compiler:
cache:
directories:
- $HOME/cache
cache:
directories:
- $HOME/cache
+before_cache:
+ - find $HOME/cache -name '*.gcda' -o -name '*.gcno' -delete
env:
<?php
env:
<?php
@@
-30,7
+32,7
@@
$gen = include "./travis/pecl/gen-matrix.php";
$cur = "7.2";
$env = $gen([
// most useful for all additional versions except current
$cur = "7.2";
$env = $gen([
// most useful for all additional versions except current
- "PHP" => ["7.0", "7.1", "master"],
+ "PHP" => ["7.0", "7.1",
"7.3",
"master"],
"enable_debug" => "yes",
"enable_maintainer_zts" => "yes",
"enable_json" => "yes",
"enable_debug" => "yes",
"enable_maintainer_zts" => "yes",
"enable_json" => "yes",
@@
-79,7
+81,8
@@
foreach ($env as $grp) {
install:
- ./travis/brotli.sh v1.0.2
install:
- ./travis/brotli.sh v1.0.2
- - make -f travis/pecl/Makefile php
+ - if test "$PHP" = master; then make -f travis/pecl/Makefile reconf; fi
+ - make -f travis/pecl/Makefile php || make -f travis/pecl/Makefile clean php
- make -f travis/pecl/Makefile pecl PECL=ext-raphf.git:raphf:master
- make -f travis/pecl/Makefile pecl PECL=ext-propro.git:propro:master
- make -f travis/pecl/Makefile pecl PECL=ext-raphf.git:raphf:master
- make -f travis/pecl/Makefile pecl PECL=ext-propro.git:propro:master