Clojure

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

Currently, Solano CI assumes that you use Leiningen. Solano CI supports the following versions of Leiningen:

  • 1.6.0
  • 2.4.2 (the default)
  • 2.5.1

If you need support for a different version, please contact support.

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.3.3'        # See Java documentation for versions
  gradle_version: '1.11'        # See Java documentation for versions
leiningen:                      # Use leiningen for clojure
  leiningen_version: "2.4.2"
tests:
  - lein test

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

tests:
  - name: Clojure test example
    command: lein test

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