File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 22
22
23
23
matrix :
24
24
include :
25
- - php : 7.1.3
25
+ - php : 7.1
26
26
- php : 7.1
27
27
env : deps=high
28
28
- php : 7.2
@@ -113,7 +113,7 @@ before_install:
113
113
114
114
- |
115
115
# Install sigchild-enabled PHP to test the Process component on the lowest PHP matrix line
116
- if [[ ! $deps && $TRAVIS_PHP_VERSION = $MIN_PHP && ! -d php-$MIN_PHP/sapi ]]; then
116
+ if [[ ! $deps && $TRAVIS_PHP_VERSION = ${ MIN_PHP%.*} && ! -d php-$MIN_PHP/sapi ]]; then
117
117
wget http://php.net/get/php-$MIN_PHP.tar.bz2/from/this/mirror -O - | tar -xj &&
118
118
(cd php-$MIN_PHP && ./configure --enable-sigchild --enable-pcntl && make -j2)
119
119
fi
@@ -216,7 +216,8 @@ install:
216
216
else
217
217
echo "$COMPONENTS" | parallel --gnu "tfold {} $PHPUNIT_X {}"
218
218
tfold src/Symfony/Component/Console.tty $PHPUNIT src/Symfony/Component/Console --group tty
219
- if [[ $PHP = $MIN_PHP ]]; then
219
+ if [[ $PHP = ${MIN_PHP%.*} ]]; then
220
+ export PHP=$MIN_PHP
220
221
tfold src/Symfony/Component/Process.sigchild SYMFONY_DEPRECATIONS_HELPER=weak php-$MIN_PHP/sapi/cli/php ./phpunit --colors=always src/Symfony/Component/Process/
221
222
fi
222
223
fi
You can’t perform that action at this time.
0 commit comments