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 20
20
21
21
matrix :
22
22
include :
23
- - php : 7.1.3
23
+ - php : 7.1
24
24
- php : 7.1
25
25
env : deps=high
26
26
- php : 7.2
@@ -110,7 +110,7 @@ before_install:
110
110
111
111
- |
112
112
# 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
114
114
wget http://php.net/get/php-$MIN_PHP.tar.bz2/from/this/mirror -O - | tar -xj &&
115
115
(cd php-$MIN_PHP && ./configure --enable-sigchild --enable-pcntl && make -j2)
116
116
fi
@@ -206,7 +206,8 @@ install:
206
206
else
207
207
echo "$COMPONENTS" | parallel --gnu "tfold {} $PHPUNIT_X {}"
208
208
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
210
211
tfold src/Symfony/Component/Process.sigchild SYMFONY_DEPRECATIONS_HELPER=weak php-$MIN_PHP/sapi/cli/php ./phpunit --colors=always src/Symfony/Component/Process/
211
212
fi
212
213
fi
You can’t perform that action at this time.
0 commit comments