From aacecb054e8ad8a802763bd0f6d4ab8b79f23656 Mon Sep 17 00:00:00 2001 From: David Buchmann Date: Mon, 5 Feb 2018 08:17:09 +0100 Subject: [PATCH] move simple-phpunit installation to install section to collapse the output travis-ci shows all output from the script section, but collapses the output of the install section. simple-phpunit uses composer to install the phpunit dependencies, producing a bunch of output that is usually not relevant. --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index d2a354604..46bb4915c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -58,6 +58,7 @@ before_install: install: - travis_retry composer update --prefer-dist --no-interaction --no-suggest --no-progress --ansi $COMPOSER_FLAGS $COMPOSER_UPDATE_OPTIONS - if [[ "$ENABLE_CODE_COVERAGE" == "true" && "$TRAVIS_EVENT_TYPE" == "cron" ]]; then travis_retry composer require --dev satooshi/php-coveralls; fi + - ./vendor/bin/simple-phpunit install script: - if [[ "$ENABLE_CODE_COVERAGE" == "true" && "$TRAVIS_EVENT_TYPE" == "cron" ]]; then vendor/bin/simple-phpunit --coverage-text --coverage-clover build/logs/clover.xml; else vendor/bin/simple-phpunit -v; fi;