Scala

Solano CI supports Scala. To configure Java version and related tools, see the Java documentation, including the junit-specific documentation.

Currently supported versions of Scala are

  • 2.9.3
  • 2.10.4
  • 2.11.8

Currently supported versions of SBT are:

  • 0.13.8 (0.13.x)

If you need support for a different version of Scala or SBT, please contact support. Note that if you may also wish to consider using sbt-launch.jar from your code repository.

Configuration

You configure your tests and their environment in a file called solano.yml. This configuration file is in YAML. It should be in your repository at the root of the directory tree. A simple example might look like this:

---
java:
  java_version: java-7-openjdk
  maven_version: '3.0.5'       # See our Java documentation for versions
  gradle_version: '1.11'       # See our Java documentation for versions
scala:
  sbt_version: "0.13.8"
  scala_version: "2.11.0"
tests:
  - sbt test

Also it is possible to customize test command name using name key:

tests:
  - name: Scala test example
    command: sbt test

For details more detailed reporting and automated parallelization of tests using junit, see the Java documentation.