howardjones / network-weathermap

Network Weathermap draws diagrams from data
http://www.network-weathermap.com/
MIT License
426 stars 94 forks source link

Travis CI doesn't build due to composer version issue #91

Closed howardjones closed 7 years ago

howardjones commented 7 years ago

Travis CI is failing to resolve composer requirements (but Vagrant, building from the same composer.json, is fine)

Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
  Problem 1
    - Installation request for codeclimate/php-test-reporter 0.1.* -> satisfiable by codeclimate/php-test-reporter[v0.1.2].
    - codeclimate/php-test-reporter v0.1.2 requires satooshi/php-coveralls 0.6.* -> satisfiable by satooshi/php-coveralls[v0.6.0, v0.6.1].
    - satooshi/php-coveralls v0.6.0 requires psr/log 1.0.0 -> satisfiable by psr/log[1.0.0].
    - satooshi/php-coveralls v0.6.1 requires psr/log 1.0.0 -> satisfiable by psr/log[1.0.0].
    - Conclusion: don't install psr/log 1.0.0

Also Travis should be building database-refactor.

howardjones commented 7 years ago

version problem resolved by updating most versions for dev dependencies to "*" and phpunit to "<6".

phpunit 6 requires namespaces for tests.

different other versions of phpunit are required for different php versions (5.3 and 5.6 are both no longer supported by the latest phpunit, but we still want to use them with travisci for now)