Skip to content

Commit a5816d1

Browse files
minor symfony#41609 Optimize travis file a bit (nicolas-grekas)
This PR was merged into the 4.4 branch. Discussion ---------- Optimize travis file a bit | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Commits ------- fe51b80 Optimize travis file a bit
2 parents 2d699e3 + fe51b80 commit a5816d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ before_install:
120120
# php.ini configuration
121121
(
122122
for PHP in $TRAVIS_PHP_VERSION $php_extra; do
123-
(cd / && wget https://storage.googleapis.com/travis-ci-language-archives/php/binaries/ubuntu/18.04/x86_64/php-$PHP.tar.bz2 -O - | tar -xj) &
123+
([[ $PHP != 7.4 ]] && phpenv global $PHP 2>/dev/null) || (cd / && wget https://storage.googleapis.com/travis-ci-language-archives/php/binaries/ubuntu/18.04/x86_64/php-$PHP.tar.bz2 -O - | tar -xj) &
124124
done
125125
wait
126126
)

0 commit comments

Comments
 (0)