This document contains information related to projects based on the Ubuntu 14.04 image. If you are using the Ubuntu 18.04 image for your projects, please refer to this page.
If you are using the Ubuntu 14.04 image and you want to switch to Ubuntu 18.04, be sure to check our upgrade guide.
Semaphore makes it easy to set up continuous integration for Scala projects. Both Java and Scala runtimes are preinstalled in the build environment. When you create a project with a Scala repository, Semaphore will analyze it and suggest to run the tests with the current Scala version and sbt.
After the analysis determines that the project is written in Scala, the following command will be suggested.
sbt ++$SEMAPHORE_SCALA_VERSION test
You can easily change or add more build commands, customize your build environment with configuration files, environment variables and more (see the 'Customizing your build' section for more information).
The Semaphore platform supports the following Scala versions:
Manually switching between Scala versions can be done with the change-scala-version <version> command. Supported versions in the utility are 2.11 and 2.12. The current version of Scala is also avaliable through the SEMAPHORE_SCALA_VERSION environment variable.
sbt version 0.13.15 is pre-installed.
Apache Ivy dependencies are also cached, which significantly reduces the build time.
Semaphore Docs are open source — Edit on GitHub