Skip to content
New issue

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

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

Already on GitHub? # to your account

Travis: Manually update Composer when automatic update fails #9

Merged
merged 1 commit into from
Jan 20, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .travis.install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ if "$using_php_533"; then
phpenv global 5.3
php --version

# Update Composer since the attempt made by the Travis setup script
# using PHP 5.3.3 would have failed.
#
# First, we update to the latest developer version since the version
# of Composer pre-installed on Travis systems (1.0.0) doesn't support
# selecting an update channel. Then, we use this version to rollback to
# the latest stable version.
composer self-update
composer self-update --stable

# Install PEAR dependencies for newer version of PHP.
install_pear_dependencies
fi
Expand Down