diff --git a/.travis.yml b/.travis.yml index c9bb7fc..299fe07 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,10 +28,7 @@ before_install: - phpenv config-rm xdebug.ini || true - composer selfupdate -install: - - composer install --dev --prefer-dist - - composer require react/promise:2.* - - composer require psr/http-message:1.* +install: composer install --dev --prefer-dist script: if [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then bin/phpunit --coverage-clover build/logs/clover.xml --group default,ReactPromise; else bin/phpunit --group default,ReactPromise; fi diff --git a/composer.json b/composer.json index 54d19a6..4178927 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,8 @@ }, "require-dev": { "phpunit/phpunit": "^4.8", - "psr/http-message": "^1.0" + "psr/http-message": "^1.0", + "react/promise": "2.*" }, "config": { "bin-dir": "bin",