From 09724347fa1f7916712e6d4d65db07790c372d23 Mon Sep 17 00:00:00 2001 From: Daniele Bartocci Date: Wed, 30 Oct 2019 12:15:34 +0100 Subject: [PATCH] Re-enable scrutinizer code coverage via travis instead of circleCI --- .travis.yml | 5 +++++ circle.yml | 18 ------------------ 2 files changed, 5 insertions(+), 18 deletions(-) delete mode 100644 circle.yml diff --git a/.travis.yml b/.travis.yml index d734421..8908df5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,3 +14,8 @@ before_script: script: - bin/phpunit + - bin/phpunit --coverage-clover=coverage.clover + +after_script: + - wget https://scrutinizer-ci.com/ocular.phar + - php ocular.phar code-coverage:upload --format=php-clover coverage.clover diff --git a/circle.yml b/circle.yml deleted file mode 100644 index dd3c335..0000000 --- a/circle.yml +++ /dev/null @@ -1,18 +0,0 @@ -dependencies: - pre: - - sed -i 's/^;//' ~/.phpenv/versions/$(phpenv global)/etc/conf.d/xdebug.ini - cache_directories: - - "~/.composer" - override: - - composer install --no-progress - -machine: - php: - version: 5.6.2 - -test: - override: - - bin/phpunit --coverage-clover=coverage.clover - post: - - wget https://scrutinizer-ci.com/ocular.phar - - php ocular.phar code-coverage:upload --access-token="e4c700772ac67a0210fa0054a54c34bfb5eac71883df0bd2d23ccb03e264be14" --format=php-clover coverage.clover