Skip to content

Commit 00ef6eb

Browse files
Switched aways from deprecated Codacy package
1 parent cab911b commit 00ef6eb

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ before_script:
4848
- "sed -i 's/): void/)/' vendor/phpunit/phpunit/src/Framework/TestCase.php"
4949

5050
script:
51-
- vendor/bin/phpunit --configuration phpunit.xml --coverage-clover /tmp/coverage.xml
51+
- vendor/bin/phpunit --configuration phpunit.xml --coverage-clover /tmp/clover.xml
5252

5353
after_success:
5454
# If coverage file is generated then upload it to Codacy (requires CODACY_PROJECT_TOKEN= env var set).
55-
- vendor/bin/codacycoverage clover /tmp/coverage.xml
55+
- bash <(wget -q -O - https://coverage.codacy.com/get.sh) report -l PHP -r /tmp/clover.xml
5656
# Scrutinizer-CI
5757
- wget --output-document=/tmp/ocular.phar https://scrutinizer-ci.com/ocular.phar && php /tmp/ocular.phar code-coverage:upload --format=php-clover /tmp/coverage.xml

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "marcin-orlowski/laravel-api-response-builder",
33
"description": "Helps building nice, normalized and easy to consume Laravel REST API.",
44
"homepage": "https://github.com/MarcinOrlowski/laravel-api-response-builder",
5-
"version": "7.1.0",
5+
"version": "7.1.1",
66
"keywords": [
77
"laravel",
88
"json",
@@ -50,7 +50,6 @@
5050
"orchestra/testbench": "^4.0",
5151
"phpunit/phpunit": "^8.0",
5252
"phpunit/php-code-coverage": "^7.0",
53-
"codacy/coverage": "^1.0",
5453
"friendsofphp/php-cs-fixer": "^2.15"
5554
}
5655
}

0 commit comments

Comments
 (0)