Change travis before_install command to support retries