Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf0c6669

Browse files
minor#32289 Allow Travis CI to build on PHP 7.4 (phansys)
This PR was merged into the 3.4 branch.Discussion----------Allow Travis CI to build on PHP 7.4| Q | A| ------------- | ---| Branch? | 3.4| Bug fix? | no| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets | n/a| License | MIT| Doc PR | n/aCommits-------1ca61d3 Allow Travis CI to build on PHP 7.4
2 parentsbcfc7a4 +1ca61d3 commitf0c6669

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

‎.travis.yml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ matrix:
2626
env:deps=high
2727
-php:7.3
2828
env:deps=low
29+
-php:7.4snapshot
30+
allow_failures:
31+
-php:7.4snapshot
2932
fast_finish:true
3033

3134
cache:
@@ -178,7 +181,7 @@ before_install:
178181
[[ -e $ext_cache ]] || (tfold ext.symfony_debug "cd src/Symfony/Component/Debug/Resources/ext && phpize && ./configure && make && mv modules/symfony_debug.so $ext_cache && phpize --clean")
179182
echo extension = $ext_cache >> $INI
180183
elif [[ $PHP = 7.* ]]; then
181-
tfold ext.apcu tpecl apcu-5.1.16 apcu.so $INI
184+
tfold ext.apcu tpecl apcu-5.1.17 apcu.so $INI
182185
tfold ext.mongodb tpecl mongodb-1.6.0alpha1 mongodb.so $INI
183186
fi
184187
done

‎phpunit‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,12 @@ if (!file_exists(__DIR__.'/vendor/symfony/phpunit-bridge/bin/simple-phpunit')) {
77
echo"Unable to find the `simple-phpunit` script in `vendor/symfony/phpunit-bridge/bin/`.\nPlease run `composer update` before running this command.\n";
88
exit(1);
99
}
10-
if (\PHP_VERSION_ID >=70000 && !getenv('SYMFONY_PHPUNIT_VERSION')) {
11-
putenv('SYMFONY_PHPUNIT_VERSION=6.5');
10+
if (!getenv('SYMFONY_PHPUNIT_VERSION')) {
11+
if (\PHP_VERSION_ID >=70400) {
12+
putenv('SYMFONY_PHPUNIT_VERSION=8.2');
13+
}elseif (\PHP_VERSION_ID >=70000) {
14+
putenv('SYMFONY_PHPUNIT_VERSION=6.5');
15+
}
1216
}
1317
putenv('SYMFONY_PHPUNIT_DIR='.__DIR__.'/.phpunit');
1418
require__DIR__.'/vendor/symfony/phpunit-bridge/bin/simple-phpunit';

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp