Phpunit: Travis CI fails with 6.x to The command "vendor/bin/phpunit --coverage-clover build/logs/clover.xml" exited with 1

Created on 7 Feb 2017  路  6Comments  路  Source: sebastianbergmann/phpunit

This seems to happen with 6.0.x versions and not with 5.7.x, Travis CI builds below

phpunit 6.x Fail

phpunit 5.x Success

Any idea why phpunit --coverage-clover build/logs/clover.xml why this happen ?

All 6 comments

The test runner now exits with 1 (instead of 0) when all tests pass but there are warnings (see https://github.com/sebastianbergmann/phpunit/blob/master/ChangeLog-6.0.md#changed).

Aah, ok that explains that - thanks.

@sebastianbergmann I get the same warning, is this supposed to happen?

@sebastianbergmann the link you shared goes to 404 now. Do you have some details? What is considered a waring?

Is this a warning?

OK, but incomplete, skipped, or risky tests!
Tests: 1492, Assertions: 4406, Skipped: 1.

Or this?

THE ERROR HANDLER HAS CHANGED!

Or this?

Remaining indirect deprecation notices (2)

Or all of the above? Can this new behaviour be somehow turned off?

PHPUnit 6 is no longer supported. Please open a new ticket in case this still applies to a supported version of PHPUnit.

Was this page helpful?
0 / 5 - 0 ratings