Travis script improvement