diff --git a/.travis.yml b/.travis.yml index dd66f3a..8d62ce6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,8 +20,8 @@ before_script: - if [[ $setup = 'coveralls' ]]; then travis_retry composer require "satooshi/php-coveralls=~0.7" --prefer-dist --no-interaction --dev; fi script: - - if [[ $coverage = 'yes' ]]; then phpunit -c phpunit.xml --coverage-clover build/logs/clover.xml; fi - - if [[ $coverage = 'no' ]]; then phpunit -c phpunit.xml; fi + - if [[ $coverage = 'yes' ]]; then vendor/bin/phpunit -c phpunit.xml --coverage-clover build/logs/clover.xml; fi + - if [[ $coverage = 'no' ]]; then vendor/bin/phpunit -c phpunit.xml; fi after_script: - if [[ $setup = 'coveralls' ]]; then php vendor/bin/coveralls -v; fi diff --git a/composer.json b/composer.json index 6103270..cf8e1ee 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,8 @@ "require-dev": { "illuminate/auth": "~5.3.0", "illuminate/database": "~5.3.0", - "mockery/mockery": "^0.9.4" + "mockery/mockery": "^0.9.4", + "phpunit/phpunit": "~5.7" }, "extra": { "branch-alias": {