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

FriendsOfCake / travis / 100
100%

Build:
DEFAULT BRANCH: master
Ran 04 May 2015 04:40PM UTC
Jobs 1
Files 1
Run time 1s
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

pending completion
100

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

Jobs
ID Job ID Ran Files Coverage
13 100.13 (COVERALLS=1) 04 May 2015 04:40PM UTC 0
100.0
Travis Job 100.13
Source Files on build 100
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #100
  • Pull Request #61
  • PR Base - master (#98)
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

© 2025 Coveralls, Inc