{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/travis-ci-travis-yml/latest.json",
  "title": "JSON schema for Travis CI configuration files",
  "x-lintel": {
    "source": "https://www.schemastore.org/travis.json",
    "sourceSha256": "042035967d075c4134e66035c2cd9ca2f31843a53ff75f68a70b13cfe5a32526",
    "fileMatch": [
      ".travis.yml"
    ],
    "parsers": [
      "yaml"
    ]
  },
  "id": "https://json.schemastore.org/travis.json",
  "allOf": [
    {
      "$ref": "#/$defs/job"
    },
    {
      "type": "object",
      "properties": {
        "notifications": {
          "type": "object",
          "properties": {
            "webhooks": {
              "oneOf": [
                {
                  "$ref": "#/$defs/possiblySecretStringOrPossiblySecretStringTypeArrayUnique"
                },
                {
                  "type": "boolean"
                },
                {
                  "$ref": "#/$defs/webhooks"
                },
                {
                  "type": "array",
                  "uniqueItems": true,
                  "minItems": 1,
                  "items": {
                    "$ref": "#/$defs/webhooks"
                  }
                }
              ]
            },
            "slack": {
              "oneOf": [
                {
                  "$ref": "#/$defs/slackRoom"
                },
                {
                  "type": "boolean"
                },
                {
                  "$ref": "#/$defs/slack"
                },
                {
                  "type": "array",
                  "uniqueItems": true,
                  "minItems": 1,
                  "items": {
                    "$ref": "#/$defs/slack"
                  }
                }
              ]
            },
            "email": {
              "oneOf": [
                {
                  "$ref": "#/$defs/possiblySecretStringOrPossiblySecretStringTypeArrayUnique"
                },
                {
                  "type": "boolean"
                },
                {
                  "$ref": "#/$defs/email"
                },
                {
                  "type": "array",
                  "uniqueItems": true,
                  "minItems": 1,
                  "items": {
                    "$ref": "#/$defs/email"
                  }
                }
              ]
            },
            "irc": {
              "oneOf": [
                {
                  "$ref": "#/$defs/possiblySecretStringOrPossiblySecretStringTypeArrayUnique"
                },
                {
                  "type": "boolean"
                },
                {
                  "$ref": "#/$defs/irc"
                },
                {
                  "type": "array",
                  "uniqueItems": true,
                  "minItems": 1,
                  "items": {
                    "$ref": "#/$defs/irc"
                  }
                }
              ]
            },
            "pushover": {
              "oneOf": [
                {
                  "$ref": "#/$defs/nonEmptyStringOrArrayOfNonEmptyStrings"
                },
                {
                  "type": "boolean"
                },
                {
                  "$ref": "#/$defs/pushover"
                },
                {
                  "type": "array",
                  "uniqueItems": true,
                  "minItems": 1,
                  "items": {
                    "$ref": "#/$defs/pushover"
                  }
                }
              ]
            },
            "campfire": {
              "oneOf": [
                {
                  "$ref": "#/$defs/possiblySecretStringOrPossiblySecretStringTypeArrayUnique"
                },
                {
                  "type": "boolean"
                },
                {
                  "$ref": "#/$defs/campfire"
                },
                {
                  "type": "array",
                  "uniqueItems": true,
                  "minItems": 1,
                  "items": {
                    "$ref": "#/$defs/campfire"
                  }
                }
              ]
            },
            "flowdock": {
              "oneOf": [
                {
                  "$ref": "#/$defs/possiblySecretString"
                },
                {
                  "type": "boolean"
                },
                {
                  "$ref": "#/$defs/flowdock"
                },
                {
                  "type": "array",
                  "uniqueItems": true,
                  "minItems": 1,
                  "items": {
                    "$ref": "#/$defs/flowdock"
                  }
                }
              ]
            },
            "hipchat": {
              "oneOf": [
                {
                  "$ref": "#/$defs/possiblySecretStringOrPossiblySecretStringTypeArrayUnique"
                },
                {
                  "type": "boolean"
                },
                {
                  "$ref": "#/$defs/hipchat"
                },
                {
                  "type": "array",
                  "uniqueItems": true,
                  "minItems": 1,
                  "items": {
                    "$ref": "#/$defs/hipchat"
                  }
                }
              ]
            }
          },
          "additionalProperties": false
        },
        "matrix": {
          "type": "object",
          "properties": {
            "exclude": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/job"
              }
            },
            "include": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/job"
              }
            },
            "allow_failures": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/job"
              }
            },
            "fast_finish": {
              "type": "boolean",
              "description": "If some rows in the build matrix are allowed to fail, the build won't be marked as finished until they have completed. To mark the build as finished as soon as possible, add fast_finish: true"
            }
          },
          "additionalProperties": false
        },
        "jobs": {
          "type": "object",
          "properties": {
            "include": {
              "type": "array",
              "items": {
                "allOf": [
                  {
                    "$ref": "#/$defs/job"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "stage": {
                        "type": "string",
                        "description": "The name of the build stage",
                        "default": "test"
                      }
                    }
                  }
                ]
              }
            },
            "exclude": {
              "type": "array",
              "items": {
                "allOf": [
                  {
                    "$ref": "#/$defs/job"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "stage": {
                        "type": "string",
                        "description": "The name of the build stage",
                        "default": "test"
                      }
                    }
                  }
                ]
              }
            },
            "allow_failures": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/job"
              }
            },
            "fast_finish": {
              "type": "boolean",
              "description": "If some rows in the build matrix are allowed to fail, the build won't be marked as finished until they have completed. To mark the build as finished as soon as possible, add fast_finish: true"
            }
          },
          "additionalProperties": false
        },
        "stages": {
          "type": "array",
          "description": "Specifies the order of build stages",
          "items": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "if": {
                    "description": "Specifies a condition for the stage",
                    "type": "string"
                  }
                },
                "additionalProperties": false
              }
            ]
          }
        },
        "version": {
          "type": "string",
          "description": "Build config specification version",
          "pattern": "^(~>|>|>=|=|<=|<) (\\d+(?:\\.\\d+)?(?:\\.\\d+)?)$"
        },
        "import": {
          "description": "Import YAML config snippets that can be shared across repositories.",
          "oneOf": [
            {
              "type": "array",
              "uniqueItems": true,
              "items": {
                "$ref": "#/$defs/import"
              }
            },
            {
              "$ref": "#/$defs/import"
            }
          ]
        }
      }
    }
  ],
  "$defs": {
    "nonEmptyString": {
      "type": "string",
      "minLength": 1
    },
    "notRequiredNonEmptyString": {
      "oneOf": [
        {
          "$ref": "#/$defs/nonEmptyString"
        },
        {
          "type": "null"
        }
      ]
    },
    "arrayOfNonEmptyStrings": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/nonEmptyString"
      }
    },
    "nonEmptyStringOrArrayOfNonEmptyStrings": {
      "oneOf": [
        {
          "$ref": "#/$defs/nonEmptyString"
        },
        {
          "$ref": "#/$defs/arrayOfNonEmptyStrings"
        }
      ]
    },
    "notRequiredNonEmptyStringOrArrayOfNonEmptyStrings": {
      "oneOf": [
        {
          "$ref": "#/$defs/nonEmptyStringOrArrayOfNonEmptyStrings"
        },
        {
          "type": "null"
        }
      ]
    },
    "stringArrayUnique": {
      "type": "array",
      "uniqueItems": true,
      "minItems": 1,
      "items": {
        "$ref": "#/$defs/nonEmptyString"
      }
    },
    "stringOrStringArrayUnique": {
      "oneOf": [
        {
          "$ref": "#/$defs/nonEmptyString"
        },
        {
          "$ref": "#/$defs/stringArrayUnique"
        }
      ]
    },
    "stringOrNumber": {
      "oneOf": [
        {
          "$ref": "#/$defs/nonEmptyString"
        },
        {
          "type": "number"
        }
      ]
    },
    "stringOrNumberAndBothAreTypeArrayUnique": {
      "type": "array",
      "uniqueItems": true,
      "minItems": 1,
      "items": {
        "$ref": "#/$defs/stringOrNumber"
      }
    },
    "stringOrNumberOrAcceptBothTypeAsArrayUnique": {
      "oneOf": [
        {
          "$ref": "#/$defs/stringOrNumber"
        },
        {
          "$ref": "#/$defs/stringOrNumberAndBothAreTypeArrayUnique"
        }
      ]
    },
    "secretString": {
      "type": "object",
      "properties": {
        "secure": {
          "$ref": "#/$defs/nonEmptyString"
        }
      },
      "additionalProperties": false
    },
    "possiblySecretString": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "object",
          "properties": {
            "secure": {
              "type": "string"
            }
          },
          "additionalProperties": false
        }
      ]
    },
    "possiblySecretStringOrPossiblySecretStringTypeArrayUnique": {
      "oneOf": [
        {
          "$ref": "#/$defs/possiblySecretString"
        },
        {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "$ref": "#/$defs/possiblySecretString"
          }
        }
      ]
    },
    "slackRoom": {
      "description": "Your account name, token and optional channel",
      "oneOf": [
        {
          "type": "string",
          "pattern": ".+:.+(#.+)?"
        },
        {
          "$ref": "#/$defs/secretString"
        }
      ]
    },
    "notificationFrequency": {
      "enum": [
        "always",
        "never",
        "change"
      ]
    },
    "step": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "enum": [
            "skip",
            "ignore"
          ]
        },
        {
          "type": "string"
        },
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      ]
    },
    "service": {
      "enum": [
        "cassandra",
        "couchdb",
        "docker",
        "elasticsearch",
        "mariadb",
        "memcached",
        "mongodb",
        "mysql",
        "neo4j",
        "postgresql",
        "rabbitmq",
        "redis",
        "redis-server",
        "rethinkdb",
        "riak",
        "xvfb"
      ]
    },
    "cache": {
      "enum": [
        "apt",
        "bundler",
        "cargo",
        "ccache",
        "cocoapods",
        "packages",
        "pip",
        "yarn",
        "npm"
      ]
    },
    "xcodeVersions": {
      "enum": [
        "xcode6.4",
        "xcode7.3",
        "xcode8",
        "xcode8.3",
        "xcode9",
        "xcode9.1",
        "xcode9.2",
        "xcode9.3",
        "xcode9.4",
        "xcode10",
        "xcode10.1",
        "xcode10.2",
        "xcode10.3",
        "xcode11",
        "xcode11.1",
        "xcode11.2",
        "xcode11.3",
        "xcode11.4",
        "xcode11.4.1",
        "xcode11.5",
        "xcode11.6",
        "xcode12u",
        "xcode12",
        "xcode12.2",
        "xcode12.3",
        "xcode12.4",
        "xcode12.5",
        "xcode13.1",
        "xcode13.2",
        "xcode13.3",
        "xcode13.4",
        "xcode14",
        "xcode14.1",
        "xcode14.2"
      ]
    },
    "envVars": {
      "oneOf": [
        {
          "$ref": "#/$defs/envVar"
        },
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/envVar"
          }
        }
      ]
    },
    "envVar": {
      "oneOf": [
        {
          "type": "string",
          "pattern": "[^=]+=.*"
        },
        {
          "type": "object",
          "properties": {
            "secure": {
              "type": "string",
              "pattern": "[^=]+=.*"
            }
          },
          "additionalProperties": false
        }
      ]
    },
    "job": {
      "type": "object",
      "properties": {
        "language": {
          "enum": [
            "android",
            "bash",
            "c",
            "c++",
            "clojure",
            "cpp",
            "crystal",
            "csharp",
            "d",
            "dart",
            "dartlang",
            "elixir",
            "elm",
            "erlang",
            "generic",
            "go",
            "golang",
            "groovy",
            "haskell",
            "haxe",
            "java",
            "javascript",
            "julia",
            "jvm",
            "matlab",
            "minimal",
            "nix",
            "node",
            "node.js",
            "node_js",
            "nodejs",
            "obj-c",
            "obj_c",
            "objective-c",
            "objective_c",
            "perl",
            "perl6",
            "php",
            "python",
            "r",
            "ruby",
            "rust",
            "scala",
            "sh",
            "shell",
            "smalltalk"
          ]
        },
        "matlab": {
          "$ref": "#/$defs/stringOrStringArrayUnique"
        },
        "elm": {
          "$ref": "#/$defs/stringOrStringArrayUnique"
        },
        "elm-test": {
          "$ref": "#/$defs/nonEmptyString"
        },
        "elm-format": {
          "$ref": "#/$defs/nonEmptyString"
        },
        "haxe": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "scala": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "sbt_args": {
          "type": "string"
        },
        "crystal": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "neko": {
          "type": "string"
        },
        "hxml": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "smalltalk": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "perl": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "perl6": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "d": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "dart": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "dart_task": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "test": {
                "type": "string"
              },
              "install_dartium": {
                "type": "boolean"
              },
              "xvfb": {
                "type": "boolean"
              },
              "dartanalyzer": {
                "type": "boolean"
              },
              "dartfmt": {
                "type": "boolean"
              }
            }
          }
        },
        "ghc": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "lein": {
          "type": "string"
        },
        "android": {
          "type": "object",
          "properties": {
            "components": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "licenses": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "additionalProperties": false
        },
        "node_js": {
          "$ref": "#/$defs/stringOrNumberOrAcceptBothTypeAsArrayUnique"
        },
        "compiler": {
          "oneOf": [
            {
              "type": "array",
              "items": {
                "enum": [
                  "clang",
                  "gcc"
                ]
              }
            },
            {
              "enum": [
                "clang",
                "gcc"
              ]
            }
          ]
        },
        "php": {
          "$ref": "#/$defs/stringOrNumberOrAcceptBothTypeAsArrayUnique"
        },
        "go": {
          "oneOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "string"
            }
          ]
        },
        "jdk": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          ]
        },
        "solution": {
          "type": "string",
          "description": "When the optional solution key is present, Travis will run NuGet package restore and build the given solution."
        },
        "mono": {
          "oneOf": [
            {
              "enum": [
                "none"
              ]
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          ]
        },
        "xcode_project": {
          "type": "string"
        },
        "xcode_workspace": {
          "type": "string"
        },
        "xcode_scheme": {
          "type": "string"
        },
        "xcode_sdk": {
          "type": "string"
        },
        "podfile": {
          "type": "string",
          "description": "By default, Travis CI will assume that your Podfile is in the root of the repository. If this is not the case, you can specify where the Podfile is"
        },
        "python": {
          "$ref": "#/$defs/stringOrNumberOrAcceptBothTypeAsArrayUnique"
        },
        "elixir": {
          "oneOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "string"
            }
          ]
        },
        "rust": {
          "oneOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "string"
            },
            {
              "type": "number"
            }
          ]
        },
        "erlang": {
          "oneOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "string"
            }
          ]
        },
        "julia": {
          "$ref": "#/$defs/stringOrNumberOrAcceptBothTypeAsArrayUnique"
        },
        "opt_release": {
          "oneOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "string"
            }
          ]
        },
        "rvm": {
          "$ref": "#/$defs/stringOrNumberOrAcceptBothTypeAsArrayUnique"
        },
        "gemfile": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          ]
        },
        "bundler_args": {
          "type": "string"
        },
        "r": {
          "oneOf": [
            {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            {
              "type": "string"
            }
          ]
        },
        "pandoc_version": {
          "type": "string"
        },
        "brew_packages": {
          "type": "array",
          "description": "A list of packages to install via brew. This option is ignored on non-OS X builds.",
          "items": {
            "type": "string"
          }
        },
        "r_binary_packages": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "r_packages": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "bioc_packages": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "r_github_packages": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "apt_packages": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "cran": {
          "type": "string",
          "description": "CRAN mirror to use for fetching packages"
        },
        "repos": {
          "type": "object",
          "description": "Dictionary of repositories to pass to options(repos)",
          "additionalProperties": {
            "type": "string"
          }
        },
        "arch": {
          "description": "The CPU Architecture to run the job on",
          "oneOf": [
            {
              "enum": [
                "amd64",
                "x86_64",
                "arm64",
                "ppc64le",
                "s390x",
                "arm64-graviton2"
              ]
            },
            {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "enum": [
                  "amd64",
                  "arm64",
                  "ppc64le",
                  "s390x",
                  "arm64-graviton2"
                ]
              }
            }
          ]
        },
        "os": {
          "description": "The operating system to run the job on",
          "oneOf": [
            {
              "enum": [
                "osx",
                "linux",
                "linux-ppc64le",
                "windows"
              ]
            },
            {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "enum": [
                  "osx",
                  "linux",
                  "linux-ppc64le",
                  "windows"
                ]
              }
            }
          ]
        },
        "osx_image": {
          "oneOf": [
            {
              "$ref": "#/$defs/xcodeVersions"
            },
            {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "$ref": "#/$defs/xcodeVersions"
              }
            }
          ],
          "default": "xcode9.4"
        },
        "dist": {
          "description": "The Ubuntu distribution to use",
          "enum": [
            "precise",
            "trusty",
            "xenial",
            "bionic",
            "focal",
            "jammy",
            "noble"
          ]
        },
        "sudo": {
          "enum": [
            true,
            false,
            "",
            "required",
            "enabled"
          ],
          "description": "sudo is deprecated"
        },
        "addons": {
          "type": "object",
          "properties": {
            "apt": {
              "type": "object",
              "description": "To install packages not included in the default container-based-infrastructure you need to use the APT addon, as sudo apt-get is not available",
              "properties": {
                "update": {
                  "type": "boolean",
                  "description": "To update the list of available packages"
                },
                "sources": {
                  "type": "array",
                  "items": {
                    "oneOf": [
                      {
                        "type": "object",
                        "properties": {
                          "sourceline": {
                            "type": "string",
                            "description": "Key-value pairs which will be added to /etc/apt/sources.list"
                          },
                          "key_url": {
                            "type": "string",
                            "description": "When APT sources require GPG keys, you can specify this with key_url"
                          }
                        },
                        "required": [
                          "sourceline"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "string",
                        "description": "Alias defined in source whitelist"
                      }
                    ]
                  }
                },
                "packages": {
                  "type": "array",
                  "description": "To install packages from the package whitelist before your custom build steps",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "additionalProperties": false
            },
            "hosts": {
              "description": "If your build requires setting up custom hostnames, you can specify a single host or a list of them. Travis CI will automatically setup the hostnames in /etc/hosts for both IPv4 and IPv6.",
              "oneOf": [
                {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                {
                  "type": "string"
                }
              ]
            },
            "ssh_known_hosts": {
              "$ref": "#/$defs/stringOrStringArrayUnique",
              "description": "Travis CI can add entries to ~/.ssh/known_hosts prior to cloning your git repository, which is necessary if there are git submodules from domains other than github.com, gist.github.com, or ssh.github.com."
            },
            "artifacts": {
              "oneOf": [
                {
                  "enum": [
                    true
                  ]
                },
                {
                  "type": "object",
                  "properties": {
                    "s3_region": {
                      "type": "string"
                    },
                    "paths": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "working_dir": {
                      "type": "string",
                      "description": "If you'd like to upload file from a specific directory, you can change your working directory "
                    },
                    "debug": {
                      "type": "boolean",
                      "description": "If you'd like to see more detail about what the artifacts addon is doing"
                    }
                  }
                }
              ]
            },
            "firefox": {
              "description": "Firefox addon",
              "anyOf": [
                {
                  "type": "string",
                  "enum": [
                    "latest",
                    "latest-esr",
                    "latest-beta",
                    "latest-dev",
                    "latest-nightly",
                    "latest-unsigned"
                  ]
                },
                {
                  "$ref": "#/$defs/nonEmptyString"
                }
              ]
            },
            "chrome": {
              "description": "Chrome addon",
              "type": "string",
              "enum": [
                "stable",
                "beta"
              ]
            },
            "rethinkdb": {
              "description": "RethinkDB addon",
              "type": "string"
            },
            "postgresql": {
              "description": "PostgreSQL addon",
              "type": "string"
            },
            "mariadb": {
              "description": "MariaDB addon",
              "type": "string"
            },
            "sauce_connect": {
              "description": "Sauce Connect addon",
              "oneOf": [
                {
                  "type": "object",
                  "properties": {
                    "username": {
                      "type": "string"
                    },
                    "access_key": {
                      "type": "string"
                    }
                  }
                },
                {
                  "type": "boolean"
                }
              ]
            },
            "sonarcloud": {
              "description": "SonarCloud addon",
              "type": "object",
              "properties": {
                "organization": {
                  "type": "string"
                },
                "token": {
                  "$ref": "#/$defs/secretString"
                }
              }
            },
            "coverity_scan": {
              "description": "Coverity Scan addon",
              "type": "object",
              "properties": {
                "project": {
                  "description": "GitHub project metadata",
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "version": {
                      "type": "number"
                    },
                    "description": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "name"
                  ]
                },
                "notification_email": {
                  "description": "Where email notification of build analysis results will be sent",
                  "type": "string"
                },
                "build_command_prepend": {
                  "description": "Commands to prepare for build_command",
                  "type": "string"
                },
                "build_command": {
                  "description": "The command that will be added as an argument to 'cov-build' to compile your project for analysis",
                  "type": "string"
                },
                "branch_pattern": {
                  "description": "Pattern to match selecting branches that will run analysis. We recommend leaving this set to 'coverity_scan'",
                  "type": "string"
                }
              }
            },
            "homebrew": {
              "description": "Homebrew addon",
              "type": "object",
              "properties": {
                "taps": {
                  "$ref": "#/$defs/stringOrStringArrayUnique"
                },
                "packages": {
                  "$ref": "#/$defs/stringOrStringArrayUnique"
                },
                "casks": {
                  "$ref": "#/$defs/stringOrStringArrayUnique"
                },
                "brewfile": {
                  "oneOf": [
                    {
                      "$ref": "#/$defs/nonEmptyString"
                    },
                    {
                      "type": "boolean",
                      "default": true
                    }
                  ]
                },
                "update": {
                  "type": "boolean",
                  "default": true
                }
              },
              "additionalProperties": false
            },
            "srcclr": {
              "description": "SourceClear addon",
              "oneOf": [
                {
                  "type": "boolean",
                  "default": true
                },
                {
                  "type": "object",
                  "properties": {
                    "debug": {
                      "type": "boolean",
                      "default": true
                    }
                  },
                  "additionalProperties": false
                }
              ]
            },
            "snaps": {
              "description": "Snaps addon",
              "oneOf": [
                {
                  "$ref": "#/$defs/nonEmptyString"
                },
                {
                  "type": "array",
                  "uniqueItems": true,
                  "minItems": 1,
                  "items": {
                    "oneOf": [
                      {
                        "$ref": "#/$defs/nonEmptyString"
                      },
                      {
                        "type": "object",
                        "properties": {
                          "name": {
                            "$ref": "#/$defs/nonEmptyString"
                          },
                          "channel": {
                            "$ref": "#/$defs/nonEmptyString"
                          },
                          "classic": {
                            "type": "boolean",
                            "description": "'classic:' is deprecated, use 'confinement:'"
                          },
                          "confinement": {
                            "enum": [
                              "classic",
                              "devmode"
                            ]
                          }
                        },
                        "required": [
                          "name"
                        ],
                        "additionalProperties": false
                      }
                    ]
                  }
                }
              ]
            },
            "browserstack": {
              "description": "BrowserStack addon",
              "type": "object",
              "properties": {
                "username": {
                  "$ref": "#/$defs/nonEmptyString"
                },
                "access_key": {
                  "$ref": "#/$defs/possiblySecretString"
                },
                "app_path": {
                  "$ref": "#/$defs/nonEmptyString"
                },
                "proxyHost": {
                  "$ref": "#/$defs/nonEmptyString"
                },
                "proxyPort": {
                  "$ref": "#/$defs/nonEmptyString"
                },
                "proxyUser": {
                  "$ref": "#/$defs/nonEmptyString"
                },
                "proxyPass": {
                  "$ref": "#/$defs/nonEmptyString"
                },
                "forcelocal": {
                  "type": "boolean"
                },
                "only": {
                  "$ref": "#/$defs/nonEmptyString"
                }
              }
            }
          },
          "additionalProperties": false
        },
        "cache": {
          "oneOf": [
            {
              "enum": [
                false
              ]
            },
            {
              "$ref": "#/$defs/cache"
            },
            {
              "type": "array",
              "items": {
                "oneOf": [
                  {
                    "$ref": "#/$defs/cache"
                  },
                  {
                    "type": "object",
                    "properties": {
                      "directories": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      }
                    },
                    "additionalProperties": false
                  }
                ]
              }
            },
            {
              "type": "object",
              "properties": {
                "directories": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "timeout": {
                  "type": "number",
                  "description": "Upload timeout in seconds",
                  "default": 1800
                },
                "apt": {
                  "type": "boolean"
                },
                "bundler": {
                  "type": "boolean"
                },
                "cocoapods": {
                  "type": "boolean"
                },
                "pip": {
                  "type": "boolean"
                },
                "yarn": {
                  "type": "boolean"
                },
                "ccache": {
                  "type": "boolean"
                },
                "packages": {
                  "type": "boolean"
                },
                "cargo": {
                  "type": "boolean"
                },
                "npm": {
                  "type": "boolean"
                }
              },
              "additionalProperties": false
            }
          ]
        },
        "services": {
          "oneOf": [
            {
              "$ref": "#/$defs/service"
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/$defs/service"
              }
            }
          ]
        },
        "git": {
          "type": "object",
          "properties": {
            "depth": {
              "oneOf": [
                {
                  "type": "integer",
                  "description": "Set the git clone depth",
                  "default": 50
                },
                {
                  "enum": [
                    false
                  ]
                }
              ]
            },
            "quiet": {
              "type": "boolean",
              "description": "Travis CI clones repositories without the quiet flag (-q) by default. Enabling the quiet flag can be useful if you're trying to avoid log file size limits or even if you just don't need to include it."
            },
            "submodules": {
              "type": "boolean",
              "description": "Control whether submodules should be cloned"
            },
            "lfs_skip_smudge": {
              "type": "boolean",
              "description": "Skip fetching the git-lfs files during the initial git clone (equivalent to git lfs smudge --skip),"
            },
            "clone": {
              "type": "boolean",
              "description": "In some work flows, like build stages, it might be beneficial to skip the automatic git clone step."
            },
            "sparse_checkout": {
              "$ref": "#/$defs/nonEmptyString",
              "description": "Is a path to the existing file in the current repository with data you'd like to put into $GIT_DIR/info/sparse-checkout file of format described in Git documentation."
            },
            "autocrlf": {
              "oneOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "string",
                  "enum": [
                    "input"
                  ]
                }
              ],
              "description": "Specify handling of line endings when cloning repository"
            }
          },
          "additionalProperties": false
        },
        "branches": {
          "type": "object",
          "description": "Specify which branches to build",
          "properties": {
            "except": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "only": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "additionalProperties": false
        },
        "env": {
          "oneOf": [
            {
              "$ref": "#/$defs/envVars"
            },
            {
              "type": "object",
              "properties": {
                "global": {
                  "$ref": "#/$defs/envVars"
                },
                "matrix": {
                  "$ref": "#/$defs/envVars"
                },
                "jobs": {
                  "$ref": "#/$defs/envVars"
                }
              },
              "additionalProperties": false
            }
          ]
        },
        "before_install": {
          "$ref": "#/$defs/step"
        },
        "install": {
          "$ref": "#/$defs/step"
        },
        "before_script": {
          "$ref": "#/$defs/step"
        },
        "script": {
          "$ref": "#/$defs/step"
        },
        "before_cache": {
          "$ref": "#/$defs/step"
        },
        "after_success": {
          "$ref": "#/$defs/step"
        },
        "after_failure": {
          "$ref": "#/$defs/step"
        },
        "before_deploy": {
          "$ref": "#/$defs/step"
        },
        "deploy": {
          "oneOf": [
            {
              "type": "array",
              "items": {
                "$ref": "#/$defs/deployment"
              }
            },
            {
              "$ref": "#/$defs/deployment"
            }
          ]
        },
        "after_deploy": {
          "$ref": "#/$defs/step"
        },
        "after_script": {
          "$ref": "#/$defs/step"
        }
      }
    },
    "deployment": {
      "allOf": [
        {
          "type": "object",
          "properties": {
            "on": {
              "type": "object",
              "properties": {
                "tags": {
                  "description": "Tell Travis CI to only deploy on tagged commits",
                  "oneOf": [
                    {
                      "type": "boolean"
                    },
                    {
                      "type": "string"
                    }
                  ]
                },
                "branch": {
                  "type": "string"
                },
                "all_branches": {
                  "type": "boolean"
                },
                "skip_cleanup": {
                  "type": "boolean",
                  "description": "After your tests ran and before the release, Travis CI will clean up any additional files and changes you made. Maybe that is not what you want, as you might generate some artifacts that are supposed to be released, too."
                },
                "repo": {
                  "type": "string"
                },
                "condition": {
                  "type": "string",
                  "description": "if [[ <condition> ]]; then <deploy>; fi"
                }
              }
            }
          }
        },
        {
          "oneOf": [
            {
              "type": "object",
              "properties": {
                "provider": {
                  "enum": [
                    "script"
                  ]
                },
                "script": {
                  "type": "string"
                }
              },
              "required": [
                "provider",
                "script"
              ]
            },
            {
              "type": "object",
              "properties": {
                "provider": {
                  "enum": [
                    "npm"
                  ]
                },
                "email": {
                  "$ref": "#/$defs/possiblySecretString"
                },
                "api_key": {
                  "$ref": "#/$defs/possiblySecretString"
                },
                "api_token": {
                  "$ref": "#/$defs/possiblySecretString"
                },
                "tag": {
                  "type": "string"
                }
              },
              "oneOf": [
                {
                  "required": [
                    "provider",
                    "email",
                    "api_key"
                  ]
                },
                {
                  "required": [
                    "provider",
                    "email",
                    "api_token"
                  ]
                }
              ]
            },
            {
              "type": "object",
              "properties": {
                "provider": {
                  "enum": [
                    "surge"
                  ]
                },
                "project": {
                  "type": "string"
                },
                "domain": {
                  "type": "string"
                }
              },
              "required": [
                "provider"
              ]
            },
            {
              "type": "object",
              "properties": {
                "provider": {
                  "enum": [
                    "releases"
                  ]
                },
                "api_key": {
                  "$ref": "#/$defs/possiblySecretString"
                },
                "user": {
                  "$ref": "#/$defs/possiblySecretString"
                },
                "password": {
                  "$ref": "#/$defs/possiblySecretString"
                },
                "file": {
                  "oneOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ]
                },
                "file_glob": {
                  "type": "boolean"
                },
                "overwrite": {
                  "type": "boolean",
                  "description": "If you need to overwrite existing files"
                }
              },
              "required": [
                "provider"
              ]
            },
            {
              "type": "object",
              "description": "deploy to heroku, to see <https://docs.travis-ci.com/user/deployment/heroku/>",
              "properties": {
                "provider": {
                  "enum": [
                    "heroku"
                  ]
                },
                "api_key": {
                  "description": "heroku auth token",
                  "anyOf": [
                    {
                      "$ref": "#/$defs/possiblySecretString"
                    },
                    {
                      "type": "object",
                      "additionalProperties": {
                        "$ref": "#/$defs/possiblySecretString"
                      }
                    }
                  ]
                },
                "app": {
                  "oneOf": [
                    {
                      "type": "string",
                      "description": "Deploy master branch to heroku app"
                    },
                    {
                      "type": "object",
                      "description": "Deploy the different branch to the different heroku app",
                      "additionalProperties": {
                        "type": "string"
                      }
                    }
                  ]
                },
                "run": {
                  "description": "to run a command on Heroku after a successful deploy",
                  "oneOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ]
                },
                "skip_cleanup": {
                  "type": "boolean",
                  "description": "Travis CI default will clean up any additional files and changes you made, you can by it to skip the clean up"
                },
                "strategy": {
                  "enum": [
                    "api",
                    "git"
                  ],
                  "description": "Travis CI supports different mechanisms for deploying to Heroku: api is default"
                }
              },
              "required": [
                "provider",
                "api_key"
              ]
            },
            {
              "type": "object",
              "properties": {
                "provider": {
                  "enum": [
                    "s3"
                  ]
                },
                "access_key_id": {
                  "$ref": "#/$defs/possiblySecretString"
                },
                "secret_access_key": {
                  "$ref": "#/$defs/possiblySecretString"
                },
                "bucket": {
                  "type": "string"
                },
                "region": {
                  "type": "string"
                },
                "skip_cleanup": {
                  "type": "boolean",
                  "default": false
                },
                "acl": {
                  "enum": [
                    "private",
                    "public_read",
                    "public_read_write",
                    "authenticated_read",
                    "bucket_owner_read",
                    "bucket_owner_full_control"
                  ]
                },
                "local_dir": {
                  "type": "string"
                },
                "upload-dir": {
                  "type": "string"
                },
                "detect_encoding": {
                  "type": "boolean",
                  "default": false
                },
                "default_text_charset": {
                  "type": "string"
                },
                "cache_control": {
                  "type": "string"
                },
                "expires": {
                  "type": "string"
                },
                "endpoint": {
                  "type": "string"
                }
              },
              "required": [
                "provider",
                "access_key_id",
                "secret_access_key",
                "bucket"
              ]
            },
            {
              "type": "object",
              "properties": {
                "provider": {
                  "type": "string",
                  "not": {
                    "enum": [
                      "script",
                      "npm",
                      "surge",
                      "releases",
                      "heroku",
                      "s3"
                    ]
                  }
                }
              },
              "required": [
                "provider"
              ]
            }
          ]
        }
      ]
    },
    "import": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "source": {
              "$ref": "#/$defs/nonEmptyString",
              "description": "The source to import build config from"
            },
            "mode": {
              "type": "string",
              "enum": [
                "merge",
                "deep_merge",
                "deep_merge_append",
                "deep_merge_prepend"
              ],
              "description": "How to merge the imported config into the target config (defaults to deep_merge_append)"
            },
            "if": {
              "$ref": "#/$defs/nonEmptyString",
              "description": "Specifies a condition for the import"
            }
          },
          "required": [
            "source"
          ],
          "additionalProperties": false
        },
        {
          "$ref": "#/$defs/nonEmptyString"
        }
      ]
    },
    "webhooks": {
      "type": "object",
      "properties": {
        "disabled": {
          "type": "boolean"
        },
        "enabled": {
          "type": "boolean"
        },
        "urls": {
          "oneOf": [
            {
              "type": "string",
              "format": "uri"
            },
            {
              "$ref": "#/$defs/secretString"
            },
            {
              "type": "array",
              "uniqueItems": true,
              "minItems": 1,
              "items": {
                "oneOf": [
                  {
                    "type": "string",
                    "format": "uri"
                  },
                  {
                    "$ref": "#/$defs/secretString"
                  }
                ]
              }
            }
          ]
        },
        "on_success": {
          "$ref": "#/$defs/notificationFrequency",
          "default": "always"
        },
        "on_failure": {
          "$ref": "#/$defs/notificationFrequency",
          "default": "always"
        },
        "on_start": {
          "$ref": "#/$defs/notificationFrequency",
          "default": "never"
        },
        "on_cancel": {
          "$ref": "#/$defs/notificationFrequency",
          "default": "always"
        },
        "on_error": {
          "$ref": "#/$defs/notificationFrequency",
          "default": "always"
        }
      },
      "additionalProperties": false
    },
    "slack": {
      "type": "object",
      "properties": {
        "disabled": {
          "type": "boolean"
        },
        "enabled": {
          "type": "boolean"
        },
        "rooms": {
          "type": "array",
          "uniqueItems": true,
          "minItems": 1,
          "items": {
            "$ref": "#/$defs/slackRoom"
          }
        },
        "on_pull_requests": {
          "type": "boolean"
        },
        "template": {
          "$ref": "#/$defs/notRequiredNonEmptyStringOrArrayOfNonEmptyStrings"
        },
        "on_success": {
          "$ref": "#/$defs/notificationFrequency"
        },
        "on_failure": {
          "$ref": "#/$defs/notificationFrequency"
        },
        "on_start": {
          "$ref": "#/$defs/notificationFrequency",
          "default": "never"
        },
        "on_cancel": {
          "$ref": "#/$defs/notificationFrequency",
          "default": "always"
        },
        "on_error": {
          "$ref": "#/$defs/notificationFrequency",
          "default": "always"
        }
      },
      "additionalProperties": false
    },
    "email": {
      "type": "object",
      "properties": {
        "disabled": {
          "type": "boolean"
        },
        "enabled": {
          "type": "boolean"
        },
        "recipients": {
          "$ref": "#/$defs/possiblySecretStringOrPossiblySecretStringTypeArrayUnique"
        },
        "on_success": {
          "$ref": "#/$defs/notificationFrequency",
          "default": "change"
        },
        "on_failure": {
          "$ref": "#/$defs/notificationFrequency",
          "default": "always"
        },
        "on_start": {
          "$ref": "#/$defs/notificationFrequency",
          "default": "never"
        },
        "on_cancel": {
          "$ref": "#/$defs/notificationFrequency",
          "default": "always"
        },
        "on_error": {
          "$ref": "#/$defs/notificationFrequency",
          "default": "always"
        }
      },
      "additionalProperties": false
    },
    "irc": {
      "type": "object",
      "properties": {
        "disabled": {
          "type": "boolean"
        },
        "enabled": {
          "type": "boolean"
        },
        "channels": {
          "$ref": "#/$defs/possiblySecretStringOrPossiblySecretStringTypeArrayUnique"
        },
        "channel_key": {
          "$ref": "#/$defs/possiblySecretString"
        },
        "nick": {
          "$ref": "#/$defs/nonEmptyString"
        },
        "password": {
          "$ref": "#/$defs/possiblySecretString"
        },
        "template": {
          "$ref": "#/$defs/notRequiredNonEmptyStringOrArrayOfNonEmptyStrings"
        },
        "on_success": {
          "$ref": "#/$defs/notificationFrequency",
          "default": "always"
        },
        "on_failure": {
          "$ref": "#/$defs/notificationFrequency",
          "default": "always"
        },
        "on_start": {
          "$ref": "#/$defs/notificationFrequency",
          "default": "never"
        },
        "on_cancel": {
          "$ref": "#/$defs/notificationFrequency",
          "default": "always"
        },
        "on_error": {
          "$ref": "#/$defs/notificationFrequency",
          "default": "always"
        },
        "skip_join": {
          "type": "boolean"
        },
        "use_notice": {
          "type": "boolean"
        }
      },
      "additionalProperties": false
    },
    "pushover": {
      "type": "object",
      "properties": {
        "disabled": {
          "type": "boolean"
        },
        "enabled": {
          "type": "boolean"
        },
        "api_key": {
          "$ref": "#/$defs/possiblySecretString"
        },
        "users": {
          "$ref": "#/$defs/possiblySecretStringOrPossiblySecretStringTypeArrayUnique"
        },
        "template": {
          "$ref": "#/$defs/notRequiredNonEmptyStringOrArrayOfNonEmptyStrings"
        },
        "on_success": {
          "$ref": "#/$defs/notificationFrequency",
          "default": "always"
        },
        "on_failure": {
          "$ref": "#/$defs/notificationFrequency",
          "default": "always"
        },
        "on_start": {
          "$ref": "#/$defs/notificationFrequency",
          "default": "never"
        },
        "on_cancel": {
          "$ref": "#/$defs/notificationFrequency",
          "default": "always"
        },
        "on_error": {
          "$ref": "#/$defs/notificationFrequency",
          "default": "always"
        }
      },
      "additionalProperties": false
    },
    "campfire": {
      "type": "object",
      "properties": {
        "disabled": {
          "type": "boolean"
        },
        "enabled": {
          "type": "boolean"
        },
        "rooms": {
          "$ref": "#/$defs/possiblySecretStringOrPossiblySecretStringTypeArrayUnique"
        },
        "template": {
          "$ref": "#/$defs/nonEmptyStringOrArrayOfNonEmptyStrings"
        },
        "on_success": {
          "$ref": "#/$defs/notificationFrequency",
          "default": "always"
        },
        "on_failure": {
          "$ref": "#/$defs/notificationFrequency",
          "default": "always"
        },
        "on_start": {
          "$ref": "#/$defs/notificationFrequency",
          "default": "never"
        },
        "on_cancel": {
          "$ref": "#/$defs/notificationFrequency",
          "default": "always"
        },
        "on_error": {
          "$ref": "#/$defs/notificationFrequency",
          "default": "always"
        }
      },
      "additionalProperties": false
    },
    "flowdock": {
      "type": "object",
      "properties": {
        "disabled": {
          "type": "boolean"
        },
        "enabled": {
          "type": "boolean"
        },
        "api_token": {
          "$ref": "#/$defs/nonEmptyString"
        },
        "on_success": {
          "$ref": "#/$defs/notificationFrequency",
          "default": "always"
        },
        "on_failure": {
          "$ref": "#/$defs/notificationFrequency",
          "default": "always"
        },
        "on_start": {
          "$ref": "#/$defs/notificationFrequency",
          "default": "never"
        },
        "on_cancel": {
          "$ref": "#/$defs/notificationFrequency",
          "default": "always"
        },
        "on_error": {
          "$ref": "#/$defs/notificationFrequency",
          "default": "always"
        }
      },
      "additionalProperties": false
    },
    "hipchat": {
      "type": "object",
      "properties": {
        "disabled": {
          "type": "boolean"
        },
        "enabled": {
          "type": "boolean"
        },
        "notify": {
          "type": "boolean"
        },
        "on_pull_requests": {
          "type": "boolean"
        },
        "rooms": {
          "$ref": "#/$defs/possiblySecretStringOrPossiblySecretStringTypeArrayUnique"
        },
        "format": {
          "enum": [
            "html",
            "text"
          ]
        },
        "template": {
          "$ref": "#/$defs/nonEmptyStringOrArrayOfNonEmptyStrings"
        },
        "on_success": {
          "$ref": "#/$defs/notificationFrequency",
          "default": "always"
        },
        "on_failure": {
          "$ref": "#/$defs/notificationFrequency",
          "default": "always"
        },
        "on_start": {
          "$ref": "#/$defs/notificationFrequency",
          "default": "never"
        },
        "on_cancel": {
          "$ref": "#/$defs/notificationFrequency",
          "default": "always"
        },
        "on_error": {
          "$ref": "#/$defs/notificationFrequency",
          "default": "always"
        }
      },
      "additionalProperties": false
    }
  }
}
