Updated scrutinizer settings and added coveralls to build process

This commit is contained in:
Joshua Estes 2014-07-03 09:14:31 -04:00
parent b5c5b23f88
commit 3fbaa68f96
2 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,8 @@
inherit: true inherit: true
tools: tools:
# @see https://scrutinizer-ci.com/docs/tools/php/security-advisory-checker/
sensiolabs_security_checker: true sensiolabs_security_checker: true
# @see https://scrutinizer-ci.com/docs/tools/php/php-analyzer/
php_analyzer: true
# @see https://scrutinizer-ci.com/docs/tools/php/pdepend/
php_pdepend: true

View File

@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project name="bitpay/magento-plugin" default="build"> <project name="bitpay/magento-plugin" default="build">
<target name="build" depends="lint,phpunit,coveralls" />
<target name="clean" hidden="true"> <target name="clean" hidden="true">
<delete dir="build/logs" verbose="true" /> <delete dir="build/logs" verbose="true" />
</target> </target>
@ -8,8 +10,6 @@
<mkdir dir="build/logs" /> <mkdir dir="build/logs" />
</target> </target>
<target name="build" depends="lint,phpunit" />
<target name="lint" depends="prepare"> <target name="lint" depends="prepare">
<phplint> <phplint>
<fileset dir="app/code/community/Bitpay/Bitcoins"> <fileset dir="app/code/community/Bitpay/Bitcoins">
@ -24,4 +24,8 @@
<target name="phpunit"> <target name="phpunit">
<exec executable="bin/phpunit" passthru="true" /> <exec executable="bin/phpunit" passthru="true" />
</target> </target>
<target name="coveralls">
<exec executable="bin/coveralls" passthru="true" />
</target>
</project> </project>