-
-
Notifications
You must be signed in to change notification settings - Fork 505
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
Conversation
7f46318
to
33548b0
Compare
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" |
There was a problem hiding this comment.
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)
@alcaeus either Travis has really bad hiccup or something is wrong :) |
f772392
to
6d251a3
Compare
@malarzm no hiccup - I just forgot to cherry-pick one commit that fixes an error with MongoDB 3.2 😉 |
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.
305f9b1
to
89bca5a
Compare
This is a backport of #1530 to the 1.1.x branch to ensure PHP 7.1 compatibility of the currently supported release line.