From 175d250d8f280493b4bb6b1c5cc4ef6af0c18b73 Mon Sep 17 00:00:00 2001 From: Ruben de Vries Date: Wed, 4 Mar 2015 16:38:25 +0100 Subject: [PATCH 1/2] widen the requirements so it can be used with guzzle versions up to 5.2.* --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index ff25532..5f9c946 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ "require": { "php": ">=5.4.0", "99designs/http-signatures": "~1.1", - "guzzlehttp/guzzle": "~4.2" + "guzzlehttp/guzzle": ">=4.2.0 <5.3.0" }, "require-dev": { "phpunit/phpunit": "~4.1" From bcd6337676113fcc8cf5993240cb63bce9f8afeb Mon Sep 17 00:00:00 2001 From: Ruben de Vries Date: Wed, 4 Mar 2015 16:38:50 +0100 Subject: [PATCH 2/2] pay with travis matrix to run test for various guzzle versions --- .travis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 5a4f48c..fb8310c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,11 @@ php: - 5.4 - hhvm -install: composer install +install: composer require --no-update guzzlehttp/guzzle $GUZZLE_VERSION; composer update script: vendor/bin/phpunit + +env: + - GUZZLE_VERSION: 4.2 + - GUZZLE_VERSION: 5.0 + - GUZZLE_VERSION: 5.2