travis: move setup from before_install to script