From: Jeremy Benoist Date: Sat, 30 May 2015 11:31:54 +0000 (+0200) Subject: Disable coverage X-Git-Tag: 2.0.0-alpha.0~65^2~3 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=9a014e48d65f30d0ca03bcc1eff5243421af52ca;p=github%2Fwallabag%2Fwallabag.git Disable coverage It takes ages to process and most of the time the build fail for "execution time" too long. Too much time already burned to investigate it. We'll investigate later, it's not a priority atm. --- diff --git a/.travis.yml b/.travis.yml index e31b1905..8d0cf817 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,16 +30,16 @@ install: - composer self-update # build coverage only on one build, to speed up results feedbacks -before_script: - - if [[ "$TRAVIS_PHP_VERSION" = "5.6" ]]; then PHPUNIT_FLAGS="--coverage-clover=coverage.clover"; else PHPUNIT_FLAGS=""; fi; +# before_script: + # - if [[ "$TRAVIS_PHP_VERSION" = "5.6" ]]; then PHPUNIT_FLAGS="--coverage-clover=coverage.clover"; else PHPUNIT_FLAGS=""; fi; script: - ant prepare - - phpunit --exclude-group command-doctrine --debug $PHPUNIT_FLAGS - -after_script: - - | - if [ $TRAVIS_PHP_VERSION = '5.6' ]; then - wget https://scrutinizer-ci.com/ocular.phar - php ocular.phar code-coverage:upload --format=php-clover coverage.clover - fi + - bin/phpunit --exclude-group command-doctrine --debug $PHPUNIT_FLAGS + +# after_script: + # - | + # if [ $TRAVIS_PHP_VERSION = '5.6' ]; then + # wget https://scrutinizer-ci.com/ocular.phar + # php ocular.phar code-coverage:upload --format=php-clover coverage.clover + # fi