mirror of
https://github.com/Codappix/search_core.git
synced 2024-11-22 09:36:11 +01:00
Merge pull request #142 from Codappix/feature/cleanup-codacy
TASK: Remove codacy from travis
This commit is contained in:
commit
cc9f3a42d8
1 changed files with 1 additions and 6 deletions
7
Makefile
7
Makefile
|
@ -41,16 +41,11 @@ unitTests:
|
||||||
.Build/bin/phpunit --colors --debug -v \
|
.Build/bin/phpunit --colors --debug -v \
|
||||||
-c Tests/Unit/UnitTests.xml
|
-c Tests/Unit/UnitTests.xml
|
||||||
|
|
||||||
uploadCodeCoverage: uploadCodeCoverageToScrutinizer uploadCodeCoverageToCodacy
|
uploadCodeCoverage: uploadCodeCoverageToScrutinizer
|
||||||
|
|
||||||
uploadCodeCoverageToScrutinizer:
|
uploadCodeCoverageToScrutinizer:
|
||||||
wget https://scrutinizer-ci.com/ocular.phar && \
|
wget https://scrutinizer-ci.com/ocular.phar && \
|
||||||
php ocular.phar code-coverage:upload --format=php-clover .Build/report/functional/clover/coverage
|
php ocular.phar code-coverage:upload --format=php-clover .Build/report/functional/clover/coverage
|
||||||
|
|
||||||
uploadCodeCoverageToCodacy:
|
|
||||||
composer require -vv --dev codacy/coverage && \
|
|
||||||
git checkout composer.json && \
|
|
||||||
php .Build/bin/codacycoverage clover .Build/report/functional/clover/coverage
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf .Build composer.lock
|
rm -rf .Build composer.lock
|
||||||
|
|
Loading…
Reference in a new issue