Fix dev deps

This commit is contained in:
Jeremiah VALERIE 2018-08-23 09:07:05 +02:00
parent fce0e4dd22
commit 3da424dacf
No known key found for this signature in database
GPG Key ID: 668676FD50ADF244
2 changed files with 3 additions and 5 deletions

View File

@ -28,10 +28,7 @@ before_install:
- phpenv config-rm xdebug.ini || true - phpenv config-rm xdebug.ini || true
- composer selfupdate - composer selfupdate
install: install: composer install --dev --prefer-dist
- composer install --dev --prefer-dist
- composer require react/promise:2.*
- composer require psr/http-message:1.*
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 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

View File

@ -14,7 +14,8 @@
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^4.8", "phpunit/phpunit": "^4.8",
"psr/http-message": "^1.0" "psr/http-message": "^1.0",
"react/promise": "2.*"
}, },
"config": { "config": {
"bin-dir": "bin", "bin-dir": "bin",