From 346ca7aa7848b90991065cb69d986038212d820b Mon Sep 17 00:00:00 2001 From: Ferdhika Yudira Date: Fri, 27 Nov 2020 14:40:16 +0700 Subject: [PATCH] :books: update coveralls --- .coveralls.yml | 5 +++-- .travis.yml | 6 +++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.coveralls.yml b/.coveralls.yml index 039c727..011d5c2 100644 --- a/.coveralls.yml +++ b/.coveralls.yml @@ -1,2 +1,3 @@ -service_name: travis-pro -repo_token: T5vwGZJCyGnvlQEQnDK3TuZG0XEd2QC6h \ No newline at end of file +coverage_clover: tests/logs/clover.xml +json_path: tests/logs/coveralls-upload.json +service_name: travis-ci \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index a51d8b6..ef72ed0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,10 @@ php: before_script: - travis_retry composer self-update - travis_retry composer install --prefer-source --no-interaction + - travis_retry composer require "php-coveralls/php-coveralls=^2.1" --prefer-dist --no-interaction --no-suggest --dev script: - - vendor/bin/phpunit \ No newline at end of file + - vendor/bin/phpunit --coverage-clover ./tests/logs/clover.xml + +after_script: +- php vendor/bin/coveralls -v \ No newline at end of file