Phing > php-coveralls > add task

This commit is contained in:
Meritoo
2019-04-05 20:47:37 +02:00
parent 134a5a0108
commit 4f55f33385
3 changed files with 9 additions and 1 deletions

View File

@@ -44,7 +44,8 @@
<target name="build:check"
depends="check:cs,
check:cpd,
check:phpstan"
check:phpstan,
check:coveralls"
/>
<!-- Test target -->
@@ -76,6 +77,11 @@
<exec command="${check.phpstan.command}" passthru="true"/>
</target>
<!-- Run analysis of code coverage -->
<target name="check:coveralls" depends="test:phpunit">
<exec command="${check.php_coveralls.command}" passthru="true"/>
</target>
<!-- PHPUnit tests -->
<target name="test:phpunit" depends="build:prepare">
<exec command="${tests.phpunit.command}" passthru="true"/>