optimize travis before_script