Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test against MongoDB 3.4 (1.1.x) #1540

Merged
merged 2 commits into from
Jan 4, 2017
Merged

Conversation

alcaeus
Copy link
Member

@alcaeus alcaeus commented Dec 23, 2016

This adds MongoDB 3.4 to the test suite and switches to the mongodb-org package instead of mongodb-enterprise. Since mongodb-org 2.6 is not available, we drop it from the build matrix to avoid having two different apt repositories in the build.

@@ -258,4 +292,20 @@ private function requireMongoDB32()
$this->markTestSkipped('$lookup tests require at least MongoDB 3.2.0');
}
}

private function skipOnMongoDB34()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it seems like the number of methods will keep on growing, maybe it'd be feasible to add a method to our base test class: ->skipIfMongo($operator, $version, $message) - what do you think?

@alcaeus
Copy link
Member Author

alcaeus commented Dec 28, 2016

Note: I'm holding off on merging this because I'd like to backport #1530 to the 1.1.x branch and base this PR against 1.1.x as well. There's no reason not to have support and tests for PHP 7.1 in 1.1.x.

@alcaeus alcaeus changed the base branch from master to 1.1.x January 4, 2017 10:05
@alcaeus alcaeus changed the title Test against MongoDB 3.4 Test against MongoDB 3.4 (1.1.x) Jan 4, 2017
@alcaeus alcaeus merged commit 1079f9c into doctrine:1.1.x Jan 4, 2017
@alcaeus alcaeus deleted the test-mongod-34 branch January 4, 2017 10:40
@malarzm malarzm added the Task label Jan 4, 2017
@malarzm malarzm added this to the 1.1.3 milestone Jan 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants