From 92965f76cfeac82bae7bfa810e0380e2e57e3dd6 Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Mon, 29 Feb 2016 10:28:53 +0100 Subject: [PATCH] Fix composer TLS exception on PHP 5.3.3 --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 01483ae..e55b1c3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,6 +23,10 @@ install: - composer self-update before_script: + # disable TLS for composer because openssl is disabled for PHP 5.3.3 on travis + # see: https://blog.travis-ci.com/upcoming_ubuntu_11_10_migration/ + - if [[ $TRAVIS_PHP_VERSION = 5.3.3 ]]; then composer config -g -- disable-tls true; fi; + - if [[ $TRAVIS_PHP_VERSION = 5.3.3 ]]; then composer config -g -- secure-http false; fi; - composer install --prefer-dist --no-interaction script: