Common before_install phase for travis.