Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Test v3 forwards compatibility #42

Merged
merged 17 commits into from
Feb 17, 2016

Conversation

weierophinney
Copy link
Member

This patch builds on #35 to do the following:

  • Pin against stable dependencies.
  • Remove unneeded dependencies.
  • Add CI builds against both the v2 and v3 releases of zend-eventmanager and zend-servicemanager.
  • Conditionally exclude tests that depend on zend-mvc; when run against the v3 releases of the above components, we exclude them.

Locally, this is running fine, but I want to confirm with Travis.

mtymek and others added 14 commits February 8, 2016 22:57
- Updated all dependencies to pin to stable series; in the case of those that
  depend on zend-servicemanager, zend-eventmanager, or zend-stdlib, this pins to
  versions of those dependencies known to be forwards-compatible with their v3
  releases.
- Selectively remove dependencies for v3 test builds when the dependency does
  not have a forwards-compatible version. Currently, that includes
  zend-modulemanager, zend-mvc, and zend-session.
Instead of shipping a component-specific trait, use the one from
zend-eventmanager.
This patch conditionally skips/enables tests based on the presence of zend-mvc
as a dependency; currently, this only affects the navigation, flash messenger,
and url helpers. Tests run perfectly against v2 dependencies.
zend-modulemanager and zend-session were only present previously so as to pull
in development versions for testing. Since we're branching testing based on
which versions of eventmanager/servicemanager we want to install, they can be
safely removed.
@weierophinney weierophinney added this to the 2.6.0 milestone Feb 17, 2016
- For the v2 test runs, because zend-session is not a requirement of zend-mvc,
  but we're testing against a plugin that uses it, we need to add it as a dev
  requirement.
- For v3 runs, that means removing it.
@weierophinney weierophinney merged commit 60c1220 into zendframework:develop Feb 17, 2016
weierophinney added a commit that referenced this pull request Feb 17, 2016
@weierophinney weierophinney mentioned this pull request Feb 17, 2016
4 tasks
@weierophinney weierophinney deleted the feature/35 branch February 17, 2016 23:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants