change travis string matching of version branches