[travis] fix minor php7.0 version
This commit is contained in:
parent
9431a38cfc
commit
07933655e8
|
@ -25,7 +25,7 @@ matrix:
|
||||||
group: edge
|
group: edge
|
||||||
- php: 5.5
|
- php: 5.5
|
||||||
- php: 5.6
|
- php: 5.6
|
||||||
- php: 7.0
|
- php: 7.0.8
|
||||||
env: deps=high
|
env: deps=high
|
||||||
- php: 7.1
|
- php: 7.1
|
||||||
env: deps=low
|
env: deps=low
|
||||||
|
@ -128,7 +128,7 @@ before_install:
|
||||||
|
|
||||||
- |
|
- |
|
||||||
# Install extra PHP extensions
|
# 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
|
wget https://github.com/symfony/binary-utils/releases/download/v0.1/ldap-php70.tar.bz2
|
||||||
tar -xjf ldap-php70.tar.bz2
|
tar -xjf ldap-php70.tar.bz2
|
||||||
echo extension = $(pwd)/ldap.so >> $INI
|
echo extension = $(pwd)/ldap.so >> $INI
|
||||||
|
@ -197,10 +197,7 @@ install:
|
||||||
elif [[ $deps = high ]]; then
|
elif [[ $deps = high ]]; then
|
||||||
echo "$COMPONENTS" | parallel --gnu -j10% "tfold {} 'cd {} && $COMPOSER_UP && $PHPUNIT_X$LEGACY'"
|
echo "$COMPONENTS" | parallel --gnu -j10% "tfold {} 'cd {} && $COMPOSER_UP && $PHPUNIT_X$LEGACY'"
|
||||||
elif [[ $deps = low ]]; then
|
elif [[ $deps = low ]]; then
|
||||||
echo "$COMPONENTS" | parallel --gnu -j10% "tfold {} 'cd {} && $COMPOSER_UP --prefer-lowest --prefer-stable && $PHPUNIT_X'" &&
|
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"
|
|
||||||
elif [[ $PHP = hhvm* ]]; then
|
elif [[ $PHP = hhvm* ]]; then
|
||||||
$PHPUNIT --exclude-group benchmark,intl-data
|
$PHPUNIT --exclude-group benchmark,intl-data
|
||||||
else
|
else
|
||||||
|
|
Reference in New Issue