3 # faster builds on docker-container setup
10 - $HOME/.composer/cache
30 - composer self-update
32 # build coverage only on one build, to speed up results feedbacks
34 # - if [[ "$TRAVIS_PHP_VERSION" = "5.6" ]]; then PHPUNIT_FLAGS="--coverage-clover=coverage.clover"; else PHPUNIT_FLAGS=""; fi;
38 - bin/phpunit --exclude-group command-doctrine --debug $PHPUNIT_FLAGS
42 # if [ $TRAVIS_PHP_VERSION = '5.6' ]; then
43 # wget https://scrutinizer-ci.com/ocular.phar
44 # php ocular.phar code-coverage:upload --format=php-clover coverage.clover