[travis] fix minor php7.0 version

This commit is contained in:
Nicolas Grekas 2017-09-06 19:21:48 +02:00
parent 9431a38cfc
commit 07933655e8
1 changed files with 3 additions and 6 deletions

View File

@ -25,7 +25,7 @@ matrix:
group: edge
- php: 5.5
- php: 5.6
- php: 7.0
- php: 7.0.8
env: deps=high
- php: 7.1
env: deps=low
@ -128,7 +128,7 @@ before_install:
- |
# Install extra PHP extensions
if [[ ! $skip && $PHP = 7.0 ]]; then
if [[ ! $skip && $PHP = 7.0.* ]]; then
wget https://github.com/symfony/binary-utils/releases/download/v0.1/ldap-php70.tar.bz2
tar -xjf ldap-php70.tar.bz2
echo extension = $(pwd)/ldap.so >> $INI
@ -197,10 +197,7 @@ install:
elif [[ $deps = high ]]; then
echo "$COMPONENTS" | parallel --gnu -j10% "tfold {} 'cd {} && $COMPOSER_UP && $PHPUNIT_X$LEGACY'"
elif [[ $deps = low ]]; then
echo "$COMPONENTS" | parallel --gnu -j10% "tfold {} 'cd {} && $COMPOSER_UP --prefer-lowest --prefer-stable && $PHPUNIT_X'" &&
# Test the PhpUnit bridge on PHP 5.3, using the original phpunit script
tfold src/Symfony/Bridge/PhpUnit \
"cd src/Symfony/Bridge/PhpUnit && wget https://phar.phpunit.de/phpunit-4.8.phar && phpenv global 5.3 && composer update --no-progress --ansi && php phpunit-4.8.phar"
echo "$COMPONENTS" | parallel --gnu -j10% "tfold {} 'cd {} && $COMPOSER_UP --prefer-lowest --prefer-stable && $PHPUNIT_X'"
elif [[ $PHP = hhvm* ]]; then
$PHPUNIT --exclude-group benchmark,intl-data
else