Only use major and minor ruby VM version on travis.
Merge pull request #884 from ontohub/fix-minor_ruby_version_on_travis

Only use major and minor ruby VM version on travis.