language: php php: - 7.1 - 7.2 - 7.3 install: travis_retry composer install script: composer ci after_success: - if [[ "`phpenv version-name`" != "7.3" ]]; then exit 0; fi - vendor/bin/phpunit --coverage-clover coverage.clover - wget https://scrutinizer-ci.com/ocular.phar - php ocular.phar code-coverage:upload --format=php-clover coverage.clover sudo: false cache: directories: - "$HOME/.composer/cache"