yiisoft/yii2 — pull request #2909 by dirx (2014-03-28 11:26:47+00:00)
Title: Changes building of mongodb and conditions & fixes #2868

First added some tests - which failed: https://travis-ci.org/dirx/yii2/builds/21743388
Then added fix and minor improvement on test - looks good: https://travis-ci.org/dirx/yii2/builds/21748983

Hope this helps.