different way of checking version
updated travis yml