Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Travis] make CI faster by always using PHP 7.1 for composer update #28111

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

nicolas-grekas
Copy link
Member

Q A
Branch? 2.8
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

@nicolas-grekas nicolas-grekas added this to the 2.8 milestone Aug 2, 2018
@nicolas-grekas nicolas-grekas force-pushed the travis-composer-php71 branch 23 times, most recently from 69144ec to 7081c16 Compare August 2, 2018 10:02
@nicolas-grekas nicolas-grekas force-pushed the travis-composer-php71 branch from 7081c16 to 010cd75 Compare August 2, 2018 10:15
nanoseconds() {
if [[ $PHP = 5.* ]]; then
composer () {
$HOME/.phpenv/versions/$TRAVIS_PHP_VERSION/bin/composer config platform.php $TRAVIS_PHP_VERSION
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be the exact PHP version. $TRAVIS_PHP_VERSION will make it use 5.5 AFAICT, which means 5.5.0. this might cause issues with packages having 5.5.9 as min version.

@nicolas-grekas
Copy link
Member Author

Closing in favor of #28114

@nicolas-grekas nicolas-grekas deleted the travis-composer-php71 branch August 2, 2018 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants