Skip to content

Commit

Permalink
move simple-phpunit installation to install section to collapse the o…
Browse files Browse the repository at this point in the history
…utput

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.
  • Loading branch information
dbu committed Feb 5, 2018
1 parent 63e3fad commit aacecb0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -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;
Expand Down

0 comments on commit aacecb0

Please sign in to comment.