From 44c080a2acbbcb7333d7b469f710771856bc1b68 Mon Sep 17 00:00:00 2001 From: Justin Sternberg Date: Mon, 21 May 2018 14:32:33 -0400 Subject: [PATCH] Set clover file to one that codeclimate can find --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 45ef877be..276025adf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -67,11 +67,11 @@ before_script: # Make PHP 7 test work. https://github.com/CMB2/CMB2/pull/885 ./cc-test-reporter before-build fi -script: if [[ latest == $WP_VERSION ]]; then phpunit --coverage-clover=coverage.clover; else phpunit --exclude-group cmb2-rest-api --coverage-clover=coverage.clover; fi +script: if [[ latest == $WP_VERSION ]]; then phpunit --coverage-clover=clover.xml; else phpunit --exclude-group cmb2-rest-api --coverage-clover=clover.xml; fi after_script: - wget https://scrutinizer-ci.com/ocular.phar - - php ocular.phar code-coverage:upload --format=php-clover coverage.clover + - php ocular.phar code-coverage:upload --format=php-clover clover.xml - | if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then if [[ ! -z "$CC_TEST_REPORTER_ID" ]] ; then