8000 [travis] test with latest PHP 7.1 to hopefully get rid of segfaults · symfony/symfony@0423677 · GitHub
[go: up one dir, main page]

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

Appearance settings

Commit 0423677

Browse files
[travis] test with latest PHP 7.1 to hopefully get rid of segfaults
1 parent 37f1060 commit 0423677

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.travis.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ env:
2020

2121
matrix:
2222
include:
23-
- php: 7.1.3
23+
- php: 7.1
2424
- php: 7.1
2525
env: deps=high
2626
- php: 7.2
@@ -110,7 +110,7 @@ before_install:
110110
111111
- |
112112
# Install sigchild-enabled PHP to test the Process component on the lowest PHP matrix line
113-
if [[ ! $deps && $TRAVIS_PHP_VERSION = $MIN_PHP && ! -d php-$MIN_PHP/sapi ]]; then
113+
if [[ ! $deps && $TRAVIS_PHP_VERSION = ${MIN_PHP%.*} && ! -d php-$MIN_PHP/sapi ]]; then
114114
wget http://php.net/get/php-$MIN_PHP.tar.bz2/from/this/mirror -O - | tar -xj &&
115115
(cd php-$MIN_PHP && ./configure --enable-sigchild --enable-pcntl && make -j2)
116116
fi
@@ -206,7 +206,8 @@ install:
206206
else
207207
echo "$COMPONENTS" | parallel --gnu "tfold {} $PHPUNIT_X {}"
208208
tfold src/Symfony/Component/Console.tty $PHPUNIT src/Symfony/Component/Console --group tty
209-
if [[ $PHP = $MIN_PHP ]]; then
209+
if [[ $PHP = ${MIN_PHP%.*} ]]; then
210+
export PHP=$MIN_PHP
210211
tfold src/Symfony/Component/Process.sigchild SYMFONY_DEPRECATIONS_HELPER=weak php-$MIN_PHP/sapi/cli/php ./phpunit --colors=always src/Symfony/Component/Process/
211212
fi
212213
fi

0 commit comments

Comments
 (0)
0