[travis] override before_install instead of install