Test ruby-head on Travis CI.
Merge pull request #3373 from simi/test-ruby-head

Test ruby-head on Travis CI.