projects
/
m6w6
/
ext-json_post
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
move to PHP-7.4 as current GA
[m6w6/ext-json_post]
/
gen_travis_yml.php
diff --git
a/gen_travis_yml.php
b/gen_travis_yml.php
index 44f45b6ede52490d9d04569caf33f3180e371f94..8fa4e579443e0ff1ca9bafdc184db3b9565d34af 100755
(executable)
--- a/
gen_travis_yml.php
+++ b/
gen_travis_yml.php
@@
-2,31
+2,23
@@
# autogenerated file; do not edit
language: c
sudo: false
# autogenerated file; do not edit
language: c
sudo: false
-dist:
trusty
+dist:
xenial
addons:
apt:
packages:
addons:
apt:
packages:
- - php
5
-cli
+ - php-cli
- php-pear
- valgrind
- php-pear
- valgrind
-compiler:
- - gcc
- - clang
-
env:
matrix:
<?php
env:
matrix:
<?php
-$cur = "7.
2
";
+$cur = "7.
4
";
$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"],
- "enable_debug" => "yes",
- "enable_json" => "yes"
-], [
- "PHP" => ["7.0", "7.1", "master"],
+ "PHP" => ["5.6", "7.0", "7.1", "7.2", "7.3", "master"],
"enable_debug" => "yes",
"enable_maintainer_zts" => "yes",
"enable_json" => "yes"
"enable_debug" => "yes",
"enable_maintainer_zts" => "yes",
"enable_json" => "yes"
@@
-36,8
+28,8
@@
$env = $gen([
"enable_maintainer_zts",
"enable_json" => "yes"
], [
"enable_maintainer_zts",
"enable_json" => "yes"
], [
- "CFLAGS" => "'-O0 -g --
profil
e'",
- "CXXFLAGS" => "'-O0 -g --
profil
e'",
+ "CFLAGS" => "'-O0 -g --
coverag
e'",
+ "CXXFLAGS" => "'-O0 -g --
coverag
e'",
"PHP" => $cur,
"enable_json" => "yes"
]);
"PHP" => $cur,
"enable_json" => "yes"
]);
@@
-64,4
+56,4
@@
script:
- make -f travis/pecl/Makefile test
after_success:
- 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
+ - test -n "$CFLAGS" && cd .libs && bash <(curl -s https://codecov.io/bash) -X xcode -X coveragepy