Split before_install in travis.