Update ruby version in travis.yml and keep tmp/cache directory in repos