Our base image uses
Ubuntu 14.04, and installs many packages that are commonly used.
We set the following environment variables by default:
|SCRUTINIZER_BRANCH||The branch that this inspection belongs to. For pull requests, this equals the target branch.|
|SCRUTINIZER_PR_NUMBER||The number of the pull request if the inspection refers to a pull request, otherwise not set.|
|SCRUTINIZER_PR_SOURCE_BRANCH||The source branch if the inspection refers to a pull request, otherwise not set|
|SCRUTINIZER_SHA1||The revision of the head commit. For pull requests, this equals the merge commit sha on GitHub, and the head sha of the source branch on Bitbucket.|
|SCRUTINIZER_INSPECTION_UUID||The UUID of the inspection.|
|SCRUTINIZER_PROJECT||Your project's qualified name, f.e.
|SCRUTINIZER_NODE_NAME||The name of the node in which the build is currently running.|
Scrutinizer runs an instance of xvfb in all build environments and automatically sets the
DISPLAY environment variable.
This means that your browser-based tests should just work as if you were running them locally.
Headless browser interfaces have access to:
phantomjs(via phantomjs), you can also install other versions with
npm install phantomjs-prebuilt
Browser-based tests have access to:
We install a range of languages in many different versions. If a version that you need is not listed here, contact us and we will install it for you.
We install several Java versions, and currently support the following versions:
build: environment: java: java-8-oracle
You can also set up Java versions with SDKMAN! which provides access to a wider range of Java versions you can choose from:
We install a few node versions by default. If you specify a version which is not listed here, it will automatically be downloaded and installed in your build environment.
build: environment: node: v6.2.0
For node, we also support installation of any released version on-the-fly. You can type
nvm ls-remote in
SSH debug mode to retrieve a list of all available versions.
We use phpenv for managing PHP versions and currently support the following versions:
build: environment: php: 7.0.6
We use pyenv for managing Python versions and currently support the following versions:
build: environment: python: 3.5.0
We use rbenv for managing Ruby versions and currently support the following versions:
build: environment: ruby: 2.3.1
We use gvm for managing Go versions and currently support the following versions:
build: environment: go: go1.6.2
We use SDKMAN! for managing Groovy version:
For more details about available Groovy versions supported by SDKMAN, please check SDKMAN! documentation <http://sdkman.io/sdks.html>
We install several scala sbt versions. The following are supported currently:
The default environment comes with many commonly used services pre-installed:
build: environment: mysql: 5.5 # 5.5 or 5.6 or 5.7 postgresql: true mongodb: true # Version 2 elasticsearch: 1 # 1 or 2 redis: true memcached: true neo4j: true # Version 3 rabbitmq: true