orocommerce icon indicating copy to clipboard operation
orocommerce copied to clipboard

TravisCI build is broken

Open jonpday opened this issue 6 years ago • 3 comments

composer install is failing due to unresolvable set of packages

jonpday avatar Mar 05 '18 06:03 jonpday

Hi @jonpday,

Can you give more details to find a solution to the problem? Could you please paste here error log with stack trace.

vladimirseniuk avatar Mar 05 '18 10:03 vladimirseniuk

Hi @vladimirseniuk,

The official OroCommerce Travis builds are failing during composer install. See https://travis-ci.org/oroinc/orocommerce/builds/349107165#L518-L562 for the full log.

A trimmed version of the failure is:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for sebastian/phpcpd dev-master#cff7f36c2ae89d59987de25d14fd41a72dd4a703 as 3.1.0 -> satisfiable by sebastian/phpcpd[dev-master].
<snip>
    - Can only install one of: phpunit/php-timer[2.0.x-dev, 1.0.6].
    - Can only install one of: phpunit/php-timer[2.0.x-dev, 1.0.7].
    - Can only install one of: phpunit/php-timer[2.0.x-dev, 1.0.8].
    - Can only install one of: phpunit/php-timer[2.0.x-dev, 1.0.9].
    - Can only install one of: phpunit/php-timer[2.0.x-dev, 1.0.x-dev].
    - sebastian/phpcpd dev-master requires phpunit/php-timer ^2.0 -> satisfiable by phpunit/php-timer[2.0.0, 2.0.x-dev].
    - Conclusion: don't install phpunit/php-timer 2.0.0
    - Installation request for phpunit/phpunit 5.7.* -> satisfiable by phpunit/phpunit[5.7.0, 5.7.1, 5.7.10, 5.7.11, 5.7.12, 5.7.13, 5.7.14, 5.7.15, 5.7.16, 5.7.17, 5.7.18, 5.7.19, 5.7.2, 5.7.20, 5.7.21, 5.7.22, 5.7.23, 5.7.24, 5.7.25, 5.7.26, 5.7.27, 5.7.3, 5.7.4, 5.7.5, 5.7.6, 5.7.7, 5.7.8, 5.7.9, 5.7.x-dev].
<snip>

gregwork avatar Mar 07 '18 00:03 gregwork

Considering that all contributions go through a comprehensive set of automated builds on our internal Jenkins enviroment before they are merged, we no longer (since today) require the Travis CI checks to pass for any PRs in oroinc repositories (except for the standalone documentation repositories) and Travis CI hooks have been removed.

I'm leaving this issue open for contribution and if anyone is willing to enable Travis CI builds and contribute back the corrected travis configuration files - we will be open to accepting those changes.

mbessolov avatar Mar 07 '18 01:03 mbessolov