mirror of
https://github.com/danog/ext-pq.git
synced 2024-12-02 09:18:02 +01:00
travis: update
This commit is contained in:
parent
d6c8226407
commit
cd06468d31
23
.travis.yml
23
.travis.yml
@ -10,10 +10,6 @@ addons:
|
|||||||
- php-pear
|
- php-pear
|
||||||
- valgrind
|
- valgrind
|
||||||
|
|
||||||
compiler:
|
|
||||||
- gcc
|
|
||||||
- clang
|
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- $HOME/cache
|
- $HOME/cache
|
||||||
@ -27,14 +23,19 @@ env:
|
|||||||
matrix:
|
matrix:
|
||||||
- PHP=7.0 enable_debug=yes enable_maintainer_zts=yes enable_json=yes
|
- PHP=7.0 enable_debug=yes enable_maintainer_zts=yes enable_json=yes
|
||||||
- PHP=7.1 enable_debug=yes enable_maintainer_zts=yes enable_json=yes
|
- PHP=7.1 enable_debug=yes enable_maintainer_zts=yes enable_json=yes
|
||||||
- PHP=7.3 enable_debug=yes enable_maintainer_zts=yes enable_json=yes
|
- PHP=7.2 enable_debug=yes enable_maintainer_zts=yes enable_json=yes
|
||||||
- PHP=master enable_debug=yes enable_maintainer_zts=yes enable_json=yes
|
- PHP=master enable_debug=yes enable_maintainer_zts=yes enable_json=yes
|
||||||
- PHP=7.2 enable_json=no
|
- PHP=7.3 enable_json=no
|
||||||
- PHP=7.2 enable_json=yes enable_debug=no enable_maintainer_zts=no
|
- PHP=7.3 enable_json=yes enable_debug=no enable_maintainer_zts=no
|
||||||
- PHP=7.2 enable_json=yes enable_debug=yes enable_maintainer_zts=no
|
- PHP=7.3 enable_json=yes enable_debug=yes enable_maintainer_zts=no
|
||||||
- PHP=7.2 enable_json=yes enable_debug=no enable_maintainer_zts=yes
|
- PHP=7.3 enable_json=yes enable_debug=no enable_maintainer_zts=yes
|
||||||
- PHP=7.2 enable_json=yes enable_debug=yes enable_maintainer_zts=yes
|
- PHP=7.3 enable_json=yes enable_debug=yes enable_maintainer_zts=yes
|
||||||
- PHP=7.2 enable_json=yes CFLAGS='-O0 -g --coverage' CXXFLAGS='-O0 -g --coverage'
|
- PHP=7.3 enable_json=yes CFLAGS='-O0 -g --coverage' CXXFLAGS='-O0 -g --coverage'
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
fast_finish: true
|
||||||
|
allow_failures:
|
||||||
|
- env: PHP=master enable_debug=yes enable_maintainer_zts=yes enable_json=yes
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- |
|
- |
|
||||||
|
@ -11,10 +11,6 @@ addons:
|
|||||||
- php-pear
|
- php-pear
|
||||||
- valgrind
|
- valgrind
|
||||||
|
|
||||||
compiler:
|
|
||||||
- gcc
|
|
||||||
- clang
|
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- $HOME/cache
|
- $HOME/cache
|
||||||
@ -29,9 +25,9 @@ env:
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
$gen = include "./travis/pecl/gen-matrix.php";
|
$gen = include "./travis/pecl/gen-matrix.php";
|
||||||
$cur = "7.2";
|
$cur = "7.3";
|
||||||
$env = $gen([
|
$env = $gen([
|
||||||
"PHP" => ["7.0", "7.1", "7.3", "master"],
|
"PHP" => ["7.0", "7.1", "7.2", "master"],
|
||||||
"enable_debug" => "yes",
|
"enable_debug" => "yes",
|
||||||
"enable_maintainer_zts" => "yes",
|
"enable_maintainer_zts" => "yes",
|
||||||
"enable_json" => "yes",
|
"enable_json" => "yes",
|
||||||
@ -55,7 +51,18 @@ foreach ($env as $g) {
|
|||||||
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);
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
Loading…
Reference in New Issue
Block a user