build: Updates for travis CI builds - add apt caching and rubygems package.