Fixed the mongo installation on Travis

The pecl installation is interactive for recent versions