From 8c9a2a5f1296033dcbd084576250fe342be1b6b2 Mon Sep 17 00:00:00 2001 From: Vladimir Razuvaev Date: Sat, 3 Jun 2017 15:34:24 +0700 Subject: [PATCH] Travis tweaks: use composer version of phpunit vs phar version as HHVM will mess with paths within phars resulting in broken builds --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index cf7fddd..914e00b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,7 +28,7 @@ install: - 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 --group default,ReactPromise; else 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 after_success: - if [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then composer require "satooshi/php-coveralls:^1.0" && travis_retry php bin/coveralls -v; fi