Job Matrix Entry
Keys
language — Language support to enable (type: enum (string), known values: android, c, clojure, cpp, crystal, csharp, d, dart, elixir, elm, ..., default: ruby, objective-c, e.g.: ruby) details
os — (type: enum (string), known values: linux, osx, windows, default: linux, osx, windows) details
dist — Build environment distribution (type: enum (string), known values: trusty, precise, xenial, bionic, server-2016) details
arch — Build environment architecture (type: enum (string), known values: amd64, arm64, ppc64le, s390x) details
osx_image — OSX image to use for the build environment (type: string)
sudo — Whether to allow sudo access (deprecated, type: boolean, or string, e.g.: required) details
env — Environment variables to set up (type: sequence of map, sequence of secure, sequence of string, map, secure, or string) details
compiler — (type: string, e.g.: gcc)
name — (type: string)
stage — (type: string)
Shared keys
addons: Build addons to activate details
branches: Include or exclude branches from being built details
cache: Cache settings to speed up the build details
deploy: Deployment target configurations details
git: Git settings details
if: Condition to determine if a build, stage, or job should be run, a config source imported, or a notification sent details
services: Services to set up and start details
before_install: Scripts to run before the install stage
install: Scripts to run at the install stage
before_script: Scripts to run before the script stage
script: Scripts to run at the script stage
before_cache: Scripts to run before storing a build cache
after_success: Scripts to run after a successful script stage
after_failure: Scripts to run after a failing script stage
before_deploy: Scripts to run before the deploy stage
after_deploy: Scripts to run after the deploy stage
after_script: Scripts to run as the last stage
Examples
language: ruby
os: linux
dist: trusty