diff --git a/.travis.yml b/.travis.yml index 10d366e..9e10589 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,6 @@ cache: - $HOME/.composer/cache/files php: -- 7.0 - 7.1 - 7.2 - 7.3 @@ -16,18 +15,16 @@ matrix: jobs: include: - - php: 7.0 + - php: 7.1 env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" - php: 7.2 - env: COVERAGE=true DEPENDENCIES="leanphp/phpspec-code-coverage" + env: COVERAGE=true DEPENDENCIES="leanphp/phpspec-code-coverage phpspec/phpspec:^4.2" script: - composer test-ci after_success: - wget https://scrutinizer-ci.com/ocular.phar - php ocular.phar code-coverage:upload --format=php-clover build/coverage.xml --revision=$TRAVIS_COMMIT # Test LTS versions - - php: 7.2 - env: DEPENDENCIES="dunglas/symfony-lock:^2" - php: 7.2 env: DEPENDENCIES="dunglas/symfony-lock:^3" - php: 7.2 diff --git a/composer.json b/composer.json index 53f91e1..9d65c4a 100644 --- a/composer.json +++ b/composer.json @@ -11,18 +11,18 @@ } ], "require": { - "php": "^7.0", + "php": "^7.1", "php-http/httplug": "^2.0", "php-http/message-factory": "^1.0", "php-http/message": "^1.6", - "symfony/options-resolver": "^2.6 || ^3.0 || ^4.0" + "symfony/options-resolver": " ^3.4.20 || ^4.0.15 || ^4.1.9 || ^4.2.1" }, "require-dev": { - "doctrine/instantiator": ">=1.0.5", + "doctrine/instantiator": "^1.1", "guzzlehttp/psr7": "^1.4", - "phpspec/phpspec": "^3.4 || ^4.2", - "phpspec/prophecy": ">=1.8", - "sebastian/comparator": ">=2" + "phpspec/phpspec": "^5.1", + "phpspec/prophecy": "^1.8", + "sebastian/comparator": "^3.0" }, "suggest": { "ext-json": "To detect JSON responses with the ContentTypePlugin",