File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,3 +26,8 @@ install:
2626
2727script :
2828 - bin/phing ci-build
29+
30+ after_success :
31+ - wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.0/coveralls.phar
32+ && php coveralls.phar --verbose --config build/coveralls.yml
33+ || true
Original file line number Diff line number Diff line change 1616 <property name =" path.root" value =" ${ project.basedir } " />
1717 <property name =" path.src" value =" ${ path.root } /src" />
1818 <property name =" path.tests" value =" ${ path.root } /tests" />
19+ <property name =" path.tests.coverage.clover" value =" ${ path.build } /log/coverage/clover.xml" />
1920 <property name =" path.vendor" value =" ${ path.root } /vendor" />
2021
2122 <target name =" build" depends ="
2930 composer-validate,
3031 phplint,
3132 cs,
32- tests
33+ ci- tests
3334 " />
3435
36+ <target name =" ci-tests" >
37+ <exec
38+ executable=" ${ path.phpunit.executable } "
39+ logoutput=" true"
40+ passthru=" true"
41+ checkreturn=" true"
42+ >
43+ <arg value =" --configuration" />
44+ <arg value =" ${ path.phpunit.configuration } " />
45+ <arg value =" --coverage-clover" />
46+ <arg value =" ${ path.tests.coverage.clover } " />
47+ <arg path =" ${ path.tests } " />
48+ </exec >
49+ </target >
50+
3551 <target name =" composer" depends =" composer-validate" >
3652 <exec
3753 executable=" ${ path.composer.executable } "
Original file line number Diff line number Diff line change 1+ coverage_clover : build/log/coverage/clover.xml
2+ json_path : build/log/coverage/coveralls-upload.json
3+ service_name : travis-ci
You can’t perform that action at this time.
0 commit comments