Skip to content

Commit 5f5ed69

Browse files
minor symfony#24112 [travis] fix minor php7.0 version (nicolas-grekas)
This PR was merged into the 3.3 branch. Discussion ---------- [travis] fix minor php7.0 version | Q | A | ------------- | --- | Branch? | 3.3 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - 7.0.7 is the default on travis-trusty, but we need 7.0.8 mini... Commits ------- 0793365 [travis] fix minor php7.0 version
2 parents 9431a38 + 0793365 commit 5f5ed69

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.travis.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ matrix:
2525
group: edge
2626
- php: 5.5
2727
- php: 5.6
28-
- php: 7.0
28+
- php: 7.0.8
2929
env: deps=high
3030
- php: 7.1
3131
env: deps=low
@@ -128,7 +128,7 @@ before_install:
128128
129129
- |
130130
# Install extra PHP extensions
131-
if [[ ! $skip && $PHP = 7.0 ]]; then
131+
if [[ ! $skip && $PHP = 7.0.* ]]; then
132132
wget https://github.com/symfony/binary-utils/releases/download/v0.1/ldap-php70.tar.bz2
133133
tar -xjf ldap-php70.tar.bz2
134134
echo extension = $(pwd)/ldap.so >> $INI
@@ -197,10 +197,7 @@ install:
197197
elif [[ $deps = high ]]; then
198198
echo "$COMPONENTS" | parallel --gnu -j10% "tfold {} 'cd {} && $COMPOSER_UP && $PHPUNIT_X$LEGACY'"
199199
elif [[ $deps = low ]]; then
200-
echo "$COMPONENTS" | parallel --gnu -j10% "tfold {} 'cd {} && $COMPOSER_UP --prefer-lowest --prefer-stable && $PHPUNIT_X'" &&
201-
# Test the PhpUnit bridge on PHP 5.3, using the original phpunit script
202-
tfold src/Symfony/Bridge/PhpUnit \
203-
"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"
200+
echo "$COMPONENTS" | parallel --gnu -j10% "tfold {} 'cd {} && $COMPOSER_UP --prefer-lowest --prefer-stable && $PHPUNIT_X'"
204201
elif [[ $PHP = hhvm* ]]; then
205202
$PHPUNIT --exclude-group benchmark,intl-data
206203
else

0 commit comments

Comments
 (0)