update travis readme badge logic