-
Notifications
You must be signed in to change notification settings - Fork 103
Add integration tests for ODM features #48
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
Add integration tests for ODM features #48
Conversation
The travis job has failed because of some travis issue, but you can see in the php 7.1 job that it passes. |
Please rebase on top of master, it conflicts now. |
With the necessary dependencies on Travis-CI to ensure the build will run properly. Following the same approach as https://github.com/doctrine/mongodb/blob/1.6.3/.travis.yml#L61 (for PHP 7+ installation).
c7fd1f9
to
6f83452
Compare
}, | ||
"config": { | ||
"platform": { | ||
"ext-mongo": "1.6.16" |
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.
What's this for?
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.
doctrine/mongodb-odm
requires ext-mongo
, this tells composer that its installed, even though it isnt, and allows odm to be installed
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.
The other option is to run composer install
with --ignore-platform-reqs
, if you think thats better @ondrejmirtes ?
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.
We can leave this in :)
Thanks! |
Same as #39 but without extra composer deps
Had to leave 'config.mongodb' in composer json so that it would allow installing doctrine-odm