Use before_install in .travis.yml.