Server: fixed broken Travis build

This commit is contained in:
Vladimir Razuvaev 2017-08-15 21:56:21 +07:00
parent 3971001f6d
commit 88c959edad
2 changed files with 3 additions and 1 deletions

View File

@ -26,6 +26,7 @@ before_install:
install: install:
- composer install --dev --prefer-dist - composer install --dev --prefer-dist
- composer require react/promise:2.* - 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

@ -32,6 +32,7 @@
} }
}, },
"suggest": { "suggest": {
"react/promise": "To use ReactPHP promise adapter" "react/promise": "To leverage async resolving on React PHP platform",
"psr/http-message": "To use standard GraphQL server"
} }
} }