Job Matrix Entries (exclude)
Attributes of jobs to exclude from the build matrix
Types
Keys
If given a map, the following keys are supported:
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
, see: Languages, Build Matrix)os
— (type: enum (string), known values:linux
,osx
,windows
, default:linux, osx, windows
)dist
— Build environment distribution (type: enum (string), known values:trusty
,precise
,xenial
,bionic
,server-2016
, see: Virtualization environments)arch
— Build environment architecture (type: enum (string), known values:amd64
,arm64
,ppc64le
,s390x
)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
)env
— Environment variables to set up (type: sequence of map, sequence of secure, sequence of string, map, secure, or string)compiler
— (type: string, e.g.:gcc
)name
— (type: string)stage
— (type: string)
Shared keys
addons
: Build addons to activate detailsbranches
: Include or exclude branches from being built detailscache
: Cache settings to speed up the build detailsdeploy
: Deployment target configurations detailsgit
: Git settings detailsif
: Condition to determine if a build, stage, or job should be run, a config source imported, or a notification sent detailsservices
: Services to set up and start detailsbefore_install
: Scripts to run before the install stageinstall
: Scripts to run at the install stagebefore_script
: Scripts to run before the script stagescript
: Scripts to run at the script stagebefore_cache
: Scripts to run before storing a build cacheafter_success
: Scripts to run after a successful script stageafter_failure
: Scripts to run after a failing script stagebefore_deploy
: Scripts to run before the deploy stageafter_deploy
: Scripts to run after the deploy stageafter_script
: Scripts to run as the last stage
Examples
exclude:
- language: ruby
os: linux
dist: trusty
exclude:
language: ruby
os: linux
dist: trusty