Make travis run also the ReactPromiseAdapter tests

This commit is contained in:
Juuso Leinonen 2016-12-22 15:24:47 +02:00
parent 90c4b5d9fa
commit e3a864f071

View File

@ -22,8 +22,9 @@ before_install:
install: install:
- composer install --dev --prefer-dist - composer install --dev --prefer-dist
- composer require react/promise:2.*
script: if [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then phpunit --coverage-clover build/logs/clover.xml; else phpunit; fi script: if [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then phpunit --coverage-clover build/logs/clover.xml --group default,ReactPromise; else phpunit --group default,ReactPromise; fi
after_success: after_success:
- if [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then composer require "satooshi/php-coveralls:^1.0" && travis_retry php bin/coveralls -v; fi - if [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then composer require "satooshi/php-coveralls:^1.0" && travis_retry php bin/coveralls -v; fi