[2.7] Install dependencies in Travis OSX build (GH-1952)

(cherry picked from commit 167e0fc211c06df)
1 file changed