More robust version detection in .travis.yml
Merge pull request #578 from mesosphere/travis-version-robustness

More robust version detection in .travis.yml