File tree Expand file tree Collapse file tree 6 files changed +502
-41
lines changed
Expand file tree Collapse file tree 6 files changed +502
-41
lines changed Original file line number Diff line number Diff line change 1+ service_name : travis-ci
2+ src_dir : .
3+ coverage_clover : clover.xml
4+ json_path : coveralls-upload.json
Original file line number Diff line number Diff line change 33 - 5.6
44 - 5.5
55 - 5.4
6- script : php build.php
6+ script : ./build.php
7+ after_script : ./vendor/bin/coveralls -v
Original file line number Diff line number Diff line change 11# DWS Coding Standard
22[ ![ Build Status] ( https://travis-ci.org/dominionenterprises/dws-coding-standard.png )] ( https://travis-ci.org/dominionenterprises/dws-coding-standard )
3+ [ ![ Code Coverage] ( http://img.shields.io/coveralls/dominionenterprises/dws-coding-standard.svg?style=flat )] ( https://coveralls.io/r/dominionenterprises/dws-coding-standard )
34
45A fairly complete [ PHP_CodeSniffer] ( http://www.squizlabs.com/php-codesniffer ) coding standard. See the [ standard document] ( standard.md ) to
56see what "sniffs" are enforced.
Original file line number Diff line number Diff line change 2323 exit (1 );
2424}
2525
26+ $ cloverCoverage = new PHP_CodeCoverage_Report_Clover ();
27+ file_put_contents ('clover.xml ' , $ cloverCoverage ->process ($ result ->getCodeCoverage ()));
28+
2629$ coverageFactory = new PHP_CodeCoverage_Report_Factory ();
2730$ coverageReport = $ coverageFactory ->create ($ result ->getCodeCoverage ());
2831if ($ coverageReport ->getNumExecutedLines () !== $ coverageReport ->getNumExecutableLines ()) {
Original file line number Diff line number Diff line change 2525 "squizlabs/php_codesniffer" : " ~1.4.8"
2626 },
2727 "require-dev" : {
28- "phpunit/phpunit" : " ~4.1"
28+ "phpunit/phpunit" : " ~4.1" ,
29+ "satooshi/php-coveralls" : " ~0.6.1"
2930 }
3031}
You can’t perform that action at this time.
0 commit comments