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 PHP 7.1 (1.1.x) #1544

Merged
merged 5 commits into from
Jan 4, 2017
Merged

Conversation

alcaeus
Copy link
Member

@alcaeus alcaeus commented Dec 29, 2016

This is a backport of #1530 to the 1.1.x branch to ensure PHP 7.1 compatibility of the currently supported release line.

@alcaeus alcaeus force-pushed the php-7.1-tests-1.1.x branch from 7f46318 to 33548b0 Compare December 29, 2016 06:36
@alcaeus alcaeus requested a review from malarzm December 29, 2016 07:13
@malarzm
Copy link
Member

malarzm commented Dec 29, 2016

Restarted tests as error on 5.6 was looking like Travis' hiccup

- php: 5.6
env: DRIVER_VERSION="1.5.8" SERVER_VERSION="2.6" COMPOSER_FLAGS="--prefer-lowest"
- php: 5.6
env: DRIVER_VERSION="stable" SERVER_VERSION="3.0"
Copy link
Member

Choose a reason for hiding this comment

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

Do we need to test legacy driver with Mongo 3.0 specifically? We have tests for 2.6 (above) and 3.2 (default env variables)

@malarzm
Copy link
Member

malarzm commented Dec 29, 2016

@alcaeus either Travis has really bad hiccup or something is wrong :)

@alcaeus alcaeus force-pushed the php-7.1-tests-1.1.x branch from f772392 to 6d251a3 Compare January 4, 2017 08:24
@alcaeus
Copy link
Member Author

alcaeus commented Jan 4, 2017

@malarzm no hiccup - I just forgot to cherry-pick one commit that fixes an error with MongoDB 3.2 😉

@alcaeus
Copy link
Member Author

alcaeus commented Jan 4, 2017

I removed the tests against 3.0, this will be changed in #1540 anyways. Given that the builds on PHP 5.6 take about 18 minutes, it's a good idea to get rid of them.

With the old matrix, we'd have 10 builds, which seems excessive. Since there's no need to test every PHP version against every MongoDB version, we only test PHP 5.6 against each MongoDB version.
This fixes an issue on sharded clusters where calling the listCollections command on a non-existing database returns an invalid command cursor.
@alcaeus alcaeus force-pushed the php-7.1-tests-1.1.x branch from 305f9b1 to 89bca5a Compare January 4, 2017 09:29
@alcaeus alcaeus merged commit b3c87b3 into doctrine:1.1.x Jan 4, 2017
@alcaeus alcaeus deleted the php-7.1-tests-1.1.x branch January 4, 2017 10:02
@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