Merge pull request #142 from Codappix/feature/cleanup-codacy

TASK: Remove codacy from travis
This commit is contained in:
Daniel Siepmann 2018-03-20 14:17:13 +01:00 committed by GitHub
commit cc9f3a42d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,16 +41,11 @@ unitTests:
.Build/bin/phpunit --colors --debug -v \
-c Tests/Unit/UnitTests.xml
uploadCodeCoverage: uploadCodeCoverageToScrutinizer uploadCodeCoverageToCodacy
uploadCodeCoverage: uploadCodeCoverageToScrutinizer
uploadCodeCoverageToScrutinizer:
wget https://scrutinizer-ci.com/ocular.phar && \
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:
rm -rf .Build composer.lock