Travis CI: Ensure packages are cached for faster setup.

https://github.com/ariya/phantomjs/issues/11880