Fix codacy coverage reporter script

Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2020-05-04 09:58:15 +02:00
parent f215a035b5
commit 7e4bfbdefb
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889

View File

@ -34,7 +34,7 @@ after_script:
after_success:
- bash <(curl -s https://codecov.io/bash)
- if [ -f build/logs/clover.xml ] ; then curl -LsO https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml; fi
- bash <(curl -Ls https://coverage.codacy.com/get.sh)
- if [ -f build/logs/clover.xml ] ; then bash <(curl -Ls https://coverage.codacy.com/get.sh) report -l php -r build/logs/clover.xml --partial; fi
services:
- mysql