• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

FriendsOfCake / travis / 100 / 13
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 04 May 2015 04:40PM UTC
Files 1
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 May 2015 04:03PM UTC coverage: 100.0%. Remained the same
COVERALLS=1

Pull #61

travis-ci

beporter
Exclude Plugin/$PLUGIN_NAME/vendor from phpunit coverage.

If for any reason composer runs in the plugin's directory during a travis build, you will end up with a `vendor/` folder present. PHPUnit will then include this folder in its `clover.xml` coverage output, which can seriously throw off Coveralls code coverage reports.

I can't think of any circumstances where someone might _want_ to include the `vendor/` directory in their code coverage, and its safe to exclude that folder even if it is not present or empty, so to me this change seems pretty safe to make.

Expand [the contents of after_script.sh in this build](https://travis-ci.org/loadsys/CakePHP-Stateless-Auth/jobs/58286758#L241) for an example of the failure described here. Here is the corresponding [Coveralls report](https://coveralls.io/builds/2326241).
Pull Request #61: Exclude Plugin/$PLUGIN_NAME/vendor from phpunit coverage.

4 of 4 relevant lines covered (100.0%)

1.0 hits per line

Source Files on job 100.13 (COVERALLS=1)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 100
  • Travis Job 100.13
  • 7775eae9 on github
  • Prev Job for COVERALLS=1 on master (#98.13)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc