Skip to content

Commit

Permalink
fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhard-efler committed Feb 4, 2021
1 parent d5af93b commit 1f0b001
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ cache:
- $HOME/.composer/cache

install:
- if [ $TRAVIS_PHP_VERSION = '7.2' ] || [ $TRAVIS_PHP_VERSION = '7.3' ]; then composer self-update --1 --no-progress --no-interaction; fi
- composer install --prefer-dist --no-interaction

script:
- if [ $TRAVIS_PHP_VERSION = '7.4' ]; then vendor/bin/phpunit --coverage-clover build/clover.xml; else vendor/bin/phpunit; fi
- if [ $TRAVIS_PHP_VERSION = '7.4' ]; then XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-clover build/clover.xml; else vendor/bin/phpunit; fi
- if [ $TRAVIS_PHP_VERSION = '7.4' ]; then vendor/bin/php-cs-fixer fix --config=vendor/ixocreate/coding-standard/.php_cs -v --diff --dry-run --using-cache=no; fi

after_success:
Expand Down

0 comments on commit 1f0b001

Please sign in to comment.