From 1a799237e13027f02f29a13d24cbfe7c90c8ed76 Mon Sep 17 00:00:00 2001 From: Chuck Burgess Date: Tue, 30 Jan 2018 12:30:43 -0600 Subject: [PATCH] try using global phpunit --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index a6871e3..43d540f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,18 +11,18 @@ matrix: install: - travis_retry composer install --no-interaction --prefer-dist --optimize-autoloader + - travis_retry composer global require phpunit/phpunit # cannot use phpunit.phar or require-dev, because this package is a phpunit dep - travis_retry wget https://phar.io/releases/phive.phar - - travis_retry composer require --dev phpunit/phpunit # cannot trust phpunit.phar, because this package is itself in that phar..." script: - - ./vendor/bin/phpunit --no-coverage + - /home/travis/.composer/vendor/bin/phpunit --no-coverage jobs: include: - stage: coverage php: 7.1 script: - - ./vendor/bin/phpunit + - /home/travis/.composer/vendor/bin/phpunit after_script: - travis_retry php phive.phar --no-progress install --trust-gpg-keys E82B2FB314E9906E php-coveralls/php-coveralls && ./tools/php-coveralls --verbose - travis_retry wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml