Fix rubygems source.
Add travis ci and code climate.