override both before_install and install in travis