Generate .travis.yml and refactor ruby-version handling
Merge pull request #3 from craftsmen/travis-ci

Generate .travis.yml and refactor ruby-version handling