Add config for travis-ci

Also, set the minimum ruby version in the gemspec