gildegoma/travis-build — comment on commit b8be8504837f08c3fad8bbf5c6728d457dea44ef
File: lib/travis/build/job/test/scala.rb line 16
By gildegoma:

After upgrade to sbt 0.11.2, the worker VM will provide Scala version 2.9.1 and 2.8.2 by default (see travis-ci/travis-cookbooks#22 and travis-ci/travis-cookbooks@9cef5777058d65015439313466d1102444d80f99). Note that requesting any other scala version will work fine as well, but 3-5 minutes longer (because sbt will download the needed scala libraries at build time).

If we want to restrict to scala versions cached at VM provision time, I would propose some kind of check like following:

```
if !File.directory?("~/.sbt/boot/scala-#{version}")
raise "Build with Scala #{version} is currently not supported"
end
```